HaikuPorter: update to 1.2.6

This had been tagged a year ago but never packaged.

Fixes #7357.
This commit is contained in:
PulkoMandy
2022-12-18 11:45:37 +01:00
parent 096af25adc
commit 9588f88af8

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="https://github.com/haikuports/haikuporter"
COPYRIGHT="2013-2022 Haiku, Inc."
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/haikuports/haikuporter/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="eed93efa18ccf96bd16e7ff2c749dfbd469cc32f9b1ea5f5a6db2849fb4aff87"
ARCHITECTURES="any"
GLOBAL_WRITABLE_FILES="
settings/haikuports.conf auto-merge
"
PROVIDES="
haikuporter = $portVersion
cmd:haikuporter = $portVersion
"
REQUIRES="
haiku
cmd:git
cmd:python3.9
"
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/python3.9/vendor-packages/
cp -R HaikuPorter $libDir/python3.9/vendor-packages/
mkdir -p $settingsDir
cp haikuports-sample.conf $settingsDir/haikuports.conf
}