Merge pull request #453 from DarkmatterVale/master

Add recipe for the newest version of haikuporter
This commit is contained in:
Adrien Destugues
2016-01-30 14:10:36 +01:00

View File

@@ -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
}