mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Added recipe for hugen
This commit is contained in:
36
dev-cpp/hugen/hugen-1.recipe
Normal file
36
dev-cpp/hugen/hugen-1.recipe
Normal file
@@ -0,0 +1,36 @@
|
||||
DESCRIPTION="Hugen is a simply python script for generating code from templates."
|
||||
SUMMARY="Code generator for Haiku"
|
||||
HOMEPAGE="https://github.com/aldeck/hugen"
|
||||
COPYRIGHT="2009 Alexandre Deckner"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="git+https://github.com/aldeck/hugen.git#a5e42390e6d4435d9d81fe3670670e18a52dee9c"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
hugen$secondaryArchSuffix = $portVersion
|
||||
cmd:hugen$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
cmd:python$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# simply do nothing
|
||||
echo
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user