From 12757e91eac7b12144298cd4a76a2457f82a9b7f Mon Sep 17 00:00:00 2001 From: Arnav Bhatt Date: Sat, 1 Dec 2018 23:24:29 +0530 Subject: [PATCH] Haiku-On: initial recipe. (#3425) the project is broken, and would need to be reworked to use openjdk instead of ecj and jam. --- haiku-misc/haiku-on/haiku_on_x86-1.0.recipe | 48 +++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 haiku-misc/haiku-on/haiku_on_x86-1.0.recipe diff --git a/haiku-misc/haiku-on/haiku_on_x86-1.0.recipe b/haiku-misc/haiku-on/haiku_on_x86-1.0.recipe new file mode 100644 index 000000000..c90f47ead --- /dev/null +++ b/haiku-misc/haiku-on/haiku_on_x86-1.0.recipe @@ -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 +}