From 6ff1ba6abf19ca6fad30e284937af96f30381de0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 15 Oct 2019 04:42:26 +0200 Subject: [PATCH] premake: Add 5.0.0~alpha14git (alpha14 + Haiku git fixes) Didn't want to wait for a proper release as I need it for nativefiledialog. Managed to build it once so it should work. --- .../premake/premake-5.0.0~alpha14git.recipe | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 dev-util/premake/premake-5.0.0~alpha14git.recipe 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 +}