mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Haiku-On: initial recipe. (#3425)
the project is broken, and would need to be reworked to use openjdk instead of ecj and jam.
This commit is contained in:
committed by
Jérôme Duval
parent
f0604f39db
commit
12757e91ea
48
haiku-misc/haiku-on/haiku_on_x86-1.0.recipe
Normal file
48
haiku-misc/haiku-on/haiku_on_x86-1.0.recipe
Normal file
@@ -0,0 +1,48 @@
|
||||
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="!x86_gcc2 ?x86 ?x86_64"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user