Files
haikuports/haiku-apps/haikuporter/haikuporter-1.0.0.recipe
Adrien Destugues a12ca98619 haikuporter: depend on git
* It is pretty much useless without it.
2015-11-10 09:26:40 +01:00

52 lines
1.1 KiB
Bash

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="66b171b3078b03c8a89126f1de6e061f8fb5a96194e1f3ce8d755b6ee30510af"
REVISION="2"
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
}