From 352bec8c80a7fbbda9f01afa599621d82d6ef67b Mon Sep 17 00:00:00 2001 From: DarkmatterVale Date: Sat, 30 Jan 2016 08:01:04 +0000 Subject: [PATCH] Add recipe for the newest version of haikuporter --- .../haikuporter/haikuporter-1.1.0.recipe | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 haiku-apps/haikuporter/haikuporter-1.1.0.recipe diff --git a/haiku-apps/haikuporter/haikuporter-1.1.0.recipe b/haiku-apps/haikuporter/haikuporter-1.1.0.recipe new file mode 100644 index 000000000..4a6c9623f --- /dev/null +++ b/haiku-apps/haikuporter/haikuporter-1.1.0.recipe @@ -0,0 +1,51 @@ +SUMMARY="Build packages for the Haiku operating system" +DESCRIPTION=" +Haikuporter allows you to build ports (and native) applications for the Haiku \ +operating system into installable packages. +" +HOMEPAGE="http://github.com/haikuports/haikuporter" +SOURCE_URI="http://github.com/haikuports/haikuporter/archive/$portVersion.tar.gz" +CHECKSUM_SHA256="cc7d2b2885b7f4088e38030420791fb49467b6c6aae904107a6aef7cf8548779" +REVISION="1" +LICENSE="MIT" +COPYRIGHT=" +2013-2015 Haiku, Inc. +" +ARCHITECTURES="any" + +PROVIDES=" + haikuporter = $portVersion + cmd:haikuporter = $portVersion + " + +REQUIRES=" + haiku + cmd:git + cmd:python2 + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + cmd:cp + " + +GLOBAL_WRITABLE_FILES=" + settings/haikuports.conf auto-merge + " + +INSTALL() +{ + # This is very manual, however was done due to + # https://github.com/haikuports/haikuports/issues/286 + # TODO: Setuptools once #286 is investigated + mkdir -p $binDir + cp haikuporter $binDir/ + + mkdir -p $libDir/python2.7/vendor-packages/ + cp -R HaikuPorter $libDir/python2.7/vendor-packages/ + + mkdir -p $settingsDir + cp haikuports-sample.conf $settingsDir/haikuports.conf +}