mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
Merged in DarkmatterVale/haikuports (pull request #315)
Update .recipe for Hugen
This commit is contained in:
@@ -23,8 +23,10 @@ REQUIRES="
|
||||
cmd:python$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
cmd:python
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python
|
||||
"
|
||||
|
||||
BUILD()
|
||||
@@ -35,8 +37,13 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir/hugen_app
|
||||
cp -R hugen.py configs/ templates/ $binDir/hugen_app
|
||||
echo python $binDir/hugen_app/hugen.py > $binDir/hugen
|
||||
chmod +x $binDir/hugen
|
||||
mkdir -p $binDir
|
||||
python=$portPackageLinksDir/cmd~python/bin/python
|
||||
version=$($python --version 2>&1 | sed 's/Python //' | head -c3)
|
||||
|
||||
installLocation=$prefix/lib/python$version/vendor-packages
|
||||
mkdir -p $installLocation/hugen_app
|
||||
cp -R hugen.py configs/ templates/ $installLocation/hugen_app
|
||||
echo python $installLocation/hugen_app/hugen.py > $binDir/hugen
|
||||
chmod +x $binDir/hugen
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user