Add recipe for haikuporter 1.2.4.

This commit is contained in:
Adrien Destugues
2021-06-12 12:38:16 +02:00
parent cb6f01de05
commit ea7eefe3bb
2 changed files with 6 additions and 63 deletions

View File

@@ -1,57 +0,0 @@
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-2020 Haiku, Inc."
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://github.com/haikuports/haikuporter/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="6d4b40684760a214a08b66ac996c9d9c9e9cd03a53d1b8611088e58a4c440085"
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
}

View File

@@ -8,11 +8,11 @@ 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-2017 Haiku, Inc."
COPYRIGHT="2013-2021 Haiku, Inc."
LICENSE="MIT"
REVISION="2"
REVISION="1"
SOURCE_URI="https://github.com/haikuports/haikuporter/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="665828ed8f05a574fd248765f3ee3e07e2cb335f9b3f6f3540bdc85aa2097d9f"
CHECKSUM_SHA256="0d4cbbfed9c2ae701baedd96ac6057425679f0151373364033a5c12af545219b"
ARCHITECTURES="any"
@@ -27,7 +27,7 @@ PROVIDES="
REQUIRES="
haiku
cmd:git
cmd:python2
cmd:python3
"
BUILD_REQUIRES="
@@ -49,8 +49,8 @@ INSTALL()
mkdir -p $binDir
cp haikuporter $binDir/
mkdir -p $libDir/python2.7/vendor-packages/
cp -R HaikuPorter $libDir/python2.7/vendor-packages/
mkdir -p $libDir/python3.7/vendor-packages/
cp -R HaikuPorter $libDir/python3.7/vendor-packages/
mkdir -p $settingsDir
cp haikuports-sample.conf $settingsDir/haikuports.conf