summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-05-01 21:57:24 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-05-01 21:57:24 +0000
commitbf2de33214a8c6973cc20f0af42a7312209b3cdf (patch)
treea3efc196a82ba7bd18a236ebfb40d33969ad749b /dev-util/premake
parentChange media-video/ffmpeg dependency to virtual/ffmpeg. Bug #362157 (diff)
downloadgentoo-2-bf2de33214a8c6973cc20f0af42a7312209b3cdf.tar.gz
gentoo-2-bf2de33214a8c6973cc20f0af42a7312209b3cdf.tar.bz2
gentoo-2-bf2de33214a8c6973cc20f0af42a7312209b3cdf.zip
Version bump. Thanks to Aaron W. Swenson <titanofold@gentoo.org> for the ebuild and the patch. Bug #364017
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/premake')
-rw-r--r--dev-util/premake/ChangeLog9
-rw-r--r--dev-util/premake/files/archless.patch36
-rw-r--r--dev-util/premake/premake-4.3.ebuild32
3 files changed, 76 insertions, 1 deletions
diff --git a/dev-util/premake/ChangeLog b/dev-util/premake/ChangeLog
index ce8b05fce3f5..3bfd096b5d99 100644
--- a/dev-util/premake/ChangeLog
+++ b/dev-util/premake/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/premake
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/premake/ChangeLog,v 1.1 2011/02/22 16:57:24 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/premake/ChangeLog,v 1.2 2011/05/01 21:57:24 hwoarang Exp $
+
+*premake-4.3 (01 May 2011)
+
+ 01 May 2011; Markos Chandras <hwoarang@gentoo.org> +premake-4.3.ebuild,
+ +files/archless.patch:
+ Version bump. Thanks to Aaron W. Swenson <titanofold@gentoo.org> for the
+ ebuild and the patch. Bug #364017
*premake-3.5 (22 Feb 2011)
diff --git a/dev-util/premake/files/archless.patch b/dev-util/premake/files/archless.patch
new file mode 100644
index 000000000000..68719bc3669c
--- /dev/null
+++ b/dev-util/premake/files/archless.patch
@@ -0,0 +1,36 @@
+diff -Naur premake-4.3.orig/build/gmake.unix/Premake4.make premake-4.3/build/gmake.unix/Premake4.make
+--- premake-4.3.orig/build/gmake.unix/Premake4.make 2010-11-16 06:29:14.000000000 -0500
++++ premake-4.3/build/gmake.unix/Premake4.make 2011-04-18 07:24:59.374986001 -0400
+@@ -26,13 +26,12 @@
+ DEFINES += -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN
+ INCLUDES += -I../../src/host/lua-5.1.4/src
+ CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
+- CFLAGS += $(CPPFLAGS) $(ARCH) -Wall -Os
+- CXXFLAGS += $(CFLAGS)
+- LDFLAGS += -s -rdynamic
++ CFLAGS += $(CPPFLAGS) -Wall
++ LDFLAGS += -rdynamic
+ LIBS += -lm -ldl
+ RESFLAGS += $(DEFINES) $(INCLUDES)
+ LDDEPS +=
+- LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(ARCH) $(LIBS)
++ LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(LIBS)
+ define PREBUILDCMDS
+ endef
+ define PRELINKCMDS
+@@ -48,13 +47,12 @@
+ DEFINES += -D_DEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN
+ INCLUDES += -I../../src/host/lua-5.1.4/src
+ CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
+- CFLAGS += $(CPPFLAGS) $(ARCH) -Wall -g
+- CXXFLAGS += $(CFLAGS)
++ CFLAGS += $(CPPFLAGS) -Wall -g
+ LDFLAGS += -rdynamic
+ LIBS += -lm -ldl
+ RESFLAGS += $(DEFINES) $(INCLUDES)
+ LDDEPS +=
+- LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(ARCH) $(LIBS)
++ LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(LIBS)
+ define PREBUILDCMDS
+ endef
+ define PRELINKCMDS
diff --git a/dev-util/premake/premake-4.3.ebuild b/dev-util/premake/premake-4.3.ebuild
new file mode 100644
index 000000000000..929d15d3744f
--- /dev/null
+++ b/dev-util/premake/premake-4.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/premake/premake-4.3.ebuild,v 1.1 2011/05/01 21:57:24 hwoarang Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="A makefile generation tool"
+HOMEPAGE="http://premake.berlios.de/"
+SRC_URI="mirror://sourceforge/premake/${P}-src.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}/archless.patch"
+}
+
+src_compile() {
+ cd "${S}/build/gmake.unix/"
+ emake
+}
+
+src_install() {
+ dobin bin/release/premake4 || die
+}