mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
49 lines
1.3 KiB
Bash
49 lines
1.3 KiB
Bash
SUMMARY="A project to create language bindings for the Haiku API"
|
|
DESCRIPTION="Haiku On is a project to create language bindings \
|
|
for the Haiku API. The first language to be targeted is Java, \
|
|
and it will likely be the only targeted language for quite some \
|
|
time. However, with Java bindings come Jython, JRuby, Scala etc. \
|
|
bindings, so we can get a really good return from targeting Java."
|
|
HOMEPAGE="https://github.com/yourpalal/Haiku-On"
|
|
COPYRIGHT="2012 Alex Wilson"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
srcGitRev="48834fe631b4054fe132bf9b7498db222f40f182"
|
|
SOURCE_URI="https://github.com/yourpalal/Haiku-On/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="7f10e65da03d04b0c4c245cbfe0fa88ee2b301f282a9562a9fb38c4548d509bc"
|
|
SOURCE_FILENAME="Haiku-On-$portVersion-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="Haiku-On-$srcGitRev"
|
|
|
|
ARCHITECTURES="?all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="!x86"
|
|
|
|
PROVIDES="
|
|
haiku_on$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
openjdk$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel$secondaryArchSuffix
|
|
openjdk$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:swig$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
ln -s ../misc/ecj $binDir
|
|
ln -s `which gjar` $binDir/jar
|
|
make all $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|