diff --git a/dev-util/premake/premake-5.0.0~alpha14git.recipe b/dev-util/premake/premake-5.0.0~alpha14git.recipe new file mode 100644 index 000000000..b23e6b7f1 --- /dev/null +++ b/dev-util/premake/premake-5.0.0~alpha14git.recipe @@ -0,0 +1,49 @@ +SUMMARY="Powerfully simple build configuration" +DESCRIPTION="\ +Describe your software project with a full-featured scripting language and \ +let Premake write the build scripts for you. With one file your project can \ +support both IDE-addicted Windows coders and Linux command-line junkies!" +HOMEPAGE="http://industriousone.com/premake" +COPYRIGHT="2012 Industrious One, LLC" +LICENSE="BSD (2-clause)" +REVISION="1" +SOURCE_URI="https://github.com/premake/premake-core/archive/b02c495d024ea72966bc0b5d448d21c7149f69c2.zip" +CHECKSUM_SHA256="eed7555ce858075fc68e9584a3b179aac1be7d32a8227f1fe2928d0ead8579e1" +SOURCE_DIR="premake-core-b02c495d024ea72966bc0b5d448d21c7149f69c2" + +ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86" + +commandBinDir=$binDir +if [ "$targetArchitecture" = x86_gcc2 ]; then + commandBinDir=$prefix/bin +fi + +PROVIDES=" + premake$secondaryArchSuffix = $portVersion + cmd:premake5 = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + make -f Bootstrap.mak haiku +} + +INSTALL() +{ + cd bin/release + mkdir -p $commandBinDir + install -m 0755 premake5 $commandBinDir +}