New haikuporter recipe for v1.2.2

This commit is contained in:
Humdinger
2017-12-29 19:30:17 +01:00
parent d02db5c8f6
commit ff49e93644

View File

@@ -0,0 +1,57 @@
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="665828ed8f05a574fd248765f3ee3e07e2cb335f9b3f6f3540bdc85aa2097d9f"
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
"
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
}