Files
haikuports/haiku-apps/haikuporter/haikuporter-1.2.1.recipe
2018-08-03 13:45:23 +02:00

58 lines
1.5 KiB
Bash

SUMMARY="Build packages for the Haiku operating system"
DESCRIPTION="The HaikuPorter tool is provided to ease the fetching, patching \
and building of source code. It can be compared to a slim version of Gentoo \
Portage. Each port contains the Haiku-specific patches to the original source \
code. It fetches the original source code, applies the Haiku-specific \
patches, builds the software, and packages it according to so-called 'recipes'.
See the wiki on the HaikuPorter website for more information on its usage \
and details on how to create those recipes."
HOMEPAGE="http://github.com/haikuports/haikuporter"
COPYRIGHT="2013-2017 Haiku, Inc."
LICENSE="MIT"
REVISION="1"
SOURCE_URI="http://github.com/haikuports/haikuporter/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="e924e9eeea0b7628ccda22ded1ac512485d363b223045c71b36d763d2ce0e6c4"
ARCHITECTURES="any"
GLOBAL_WRITABLE_FILES="
settings/haikuports.conf auto-merge
"
PROVIDES="
haikuporter = $portVersion
cmd:haikuporter = $portVersion
"
REQUIRES="
haiku
cmd:git
cmd:python2
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:cp
"
BUILD()
{
true
}
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
}