Add premake as disabled package
authorFredrik Fornwall <fredrik@fornwall.net>
Tue, 10 Nov 2015 21:31:33 +0000 (16:31 -0500)
committerFredrik Fornwall <fredrik@fornwall.net>
Tue, 10 Nov 2015 21:31:33 +0000 (16:31 -0500)
disabled-packages/premake/build-gmake.unix-Premake4.make.patch [new file with mode: 0644]
disabled-packages/premake/build.sh [new file with mode: 0644]

diff --git a/disabled-packages/premake/build-gmake.unix-Premake4.make.patch b/disabled-packages/premake/build-gmake.unix-Premake4.make.patch
new file mode 100644 (file)
index 0000000..298d297
--- /dev/null
@@ -0,0 +1,14 @@
+diff -u -r ../premake-4.4-beta5/build/gmake.unix/Premake4.make ./build/gmake.unix/Premake4.make
+--- ../premake-4.4-beta5/build/gmake.unix/Premake4.make        2013-11-26 10:41:34.000000000 -0500
++++ ./build/gmake.unix/Premake4.make   2015-11-03 09:39:25.024912553 -0500
+@@ -7,10 +7,6 @@
+   SILENT = @
+ endif
+-CC = gcc
+-CXX = g++
+-AR = ar
+-
+ ifndef RESCOMP
+   ifdef WINDRES
+     RESCOMP = $(WINDRES)
diff --git a/disabled-packages/premake/build.sh b/disabled-packages/premake/build.sh
new file mode 100644 (file)
index 0000000..caa1e46
--- /dev/null
@@ -0,0 +1,12 @@
+TERMUX_PKG_HOMEPAGE=http://premake.github.io/
+TERMUX_PKG_DESCRIPTION="Build script generator"
+TERMUX_PKG_VERSION=4.4-beta5
+TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/premake/Premake/4.4/premake-${TERMUX_PKG_VERSION}-src.zip
+TERMUX_PKG_FOLDERNAME=premake-${TERMUX_PKG_VERSION}
+# TERMUX_PKG_DEPENDS="pcre, openssl, libuuid"
+# TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ssl=openssl"
+
+
+termux_step_pre_configure () {
+       TERMUX_PKG_BUILDDIR=$TERMUX_PKG_SRCDIR/build/gmake.unix
+}