From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-util/premake/Manifest | 8 ++++++++ dev-util/premake/files/archless.patch | 36 ++++++++++++++++++++++++++++++++++ dev-util/premake/metadata.xml | 18 +++++++++++++++++ dev-util/premake/premake-3.7.ebuild | 24 +++++++++++++++++++++++ dev-util/premake/premake-4.3-r1.ebuild | 30 ++++++++++++++++++++++++++++ 5 files changed, 116 insertions(+) create mode 100644 dev-util/premake/Manifest create mode 100644 dev-util/premake/files/archless.patch create mode 100644 dev-util/premake/metadata.xml create mode 100644 dev-util/premake/premake-3.7.ebuild create mode 100644 dev-util/premake/premake-4.3-r1.ebuild (limited to 'dev-util/premake') diff --git a/dev-util/premake/Manifest b/dev-util/premake/Manifest new file mode 100644 index 000000000000..f63a47d8577f --- /dev/null +++ b/dev-util/premake/Manifest @@ -0,0 +1,8 @@ +AUX archless.patch 1516 SHA256 3cdb0b10c70dddc467297510388001d7d1aa7ce9edb04adb0539cfed30aa85e3 SHA512 e74f895b24a7bb3da118aa694c35b2473994881ffa6e54ec5a0be450ab55374c0bb418b93fa84b5e30f46a04987c1cb75305463a1a181e458c750d38cafecd04 WHIRLPOOL 36488b8518b17fd82a40a9233cc699be55e67764ac8fd193bad34f29d3733294081419a400f46fd70221af160ed82ef36e890501199186363df408a109835185 +DIST premake-4.3-src.zip 514366 SHA256 36536490f8928d8ecde135da80cd8b751ea5bebe50cabba5c0de49cd41cb2780 SHA512 df3a4f1e04afb6ae9acf06c063b084a4bcc7c48a98eebeb242eafef40de4097c6a6fe549369d9538b93efea35244222b9d26c15824f126a67b8f80abaecdf001 WHIRLPOOL f39bb097379206818989b5076b2310ea26252f694382eaec1ed5b3785318dbdb0fbd3669094f2756979fbf67c771f080f76dd9418da3d8326f3e93b8e15957e4 +DIST premake-src-3.7.zip 427727 SHA256 b59841a519e75d5b6566848a2c5be2f91455bf0cc6ae4d688fcbd4c40db934d5 SHA512 351b26b9ee738e97b1828e7c26fe1538fb1509fbdc030da3d87fc28b1daa7966bc50ba8043062d35b37fa3929d909533b723241e1f98e438a039c6f9d61a46f4 WHIRLPOOL ddebaac25b0382620dba378ca8f3f3340cbe630cc081858cc94a6dc4d4a5a13c9e09706af5dc602e6886a0e3f720cc68515f38bc112fd82a389593a2b3514bf6 +EBUILD premake-3.7.ebuild 447 SHA256 4f6b375ade377d38bcafad045b7772a52db596837dc7372574e84c1088d35d49 SHA512 8e77f419f850b861e66e77ac0140fc0de4ead84b23d0abd82ab568d6e9dc06c6537eed6ea2b5db8b3a0b88f44f3b915009ae173f6165c53b56bbc5a0b384d1c8 WHIRLPOOL 8a66b4350a97717c0070b5ed0b9abea2657452bdb17978a8dd2b8d22b8767685fa55cf70d452a8f25896ce2535e6bdf01c9781cb0f681076397608cd3e217741 +EBUILD premake-4.3-r1.ebuild 542 SHA256 a960163959c9269ada0cb7bb6fe9e9cd4fd0e79759c74a68f5ba435809d1047a SHA512 5739291a774abf6b87331f1bad8a4e00d890367194b7254abe6a92e252908e6a5e8698519e3a27154cf8518aaab112797b90171c0db8938703760d79986c6d74 WHIRLPOOL 9be10bd6078d4ed10497ccb22a33aa2c921ca6a16a0ef4ef2ffa084bf0ed253d673191349920f5e6574f98f3c24540b7ef42c9ca74edcd3bc3ee9dfb4653b1d8 +MISC ChangeLog 2249 SHA256 45c8e07665f4e48dfe767d7d41d86771fcaf5bd12857d0471c5abc7145e738bb SHA512 c14868d4ad19e9019865ee6813a89391b3e47e814d0f0b0069955aa046356551d66927fc6751c42a906339d13bd987fe3e52d969edf8623bec2e7e4e974afe79 WHIRLPOOL f242be73048d001fcb0ac9c342d39c25397645b652fc89ee3b6ab964ec2036f63ff4d97fcff867d48c2ef3f680583be4c8d0d8d11f352f634fae87eb4fc816b0 +MISC ChangeLog-2015 2538 SHA256 8c0a65afece9ca096b30604d6582798e97d75a284aafecd6aaf858f2823f7f25 SHA512 23d398d12b1eb7fb387171197526fe8437a040cae6b1bf21a1841d8f81c2728b8df69d39e3916d0b701e79f23e11cf1bc9e1f90d9eace05899261a56140f2fc1 WHIRLPOOL d2ee4e55d421030a0f05a5b6a923ac659187672e79c59c93e0452551acec2d41c76c43b4a1c4f6b19680bbf97a26a4986eca7d5252dad4f93ca32d0f23aab369 +MISC metadata.xml 717 SHA256 d2a74bd72a99161220b1b036f42e56c2bb17b699e69e54a1a7b2dc84cb253e8f SHA512 416923483181ade601cee1fa8cdcf44d721dea0424adb0527419a5561a5ea9f48ee2fbd59b9b5fe120525b73faed68e9be288b70ae3c1c51b803c176843da1de WHIRLPOOL 3c2cd68f11a73f3f77957b1e6cda2cb9e540a3f6ffeb5f54f63b48762c5e3f6f2fb00d1724c252af50212911863ad81505fcd862c4ffe89d95f12faf4ed20fdb 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/metadata.xml b/dev-util/premake/metadata.xml new file mode 100644 index 000000000000..798594dcbe68 --- /dev/null +++ b/dev-util/premake/metadata.xml @@ -0,0 +1,18 @@ + + + + + titanofold@gentoo.org + Aaron W. Swenson + + + Describe your software project just once, using Premake's simple and + easy to read syntax, and build it everywhere. Generate project files + for Visual Studio, GNU Make, Xcode, Code::Blocks, and more across + Windows, Mac OS X, and Linux. Use the full featured Lua scripting + engine to make build configuration tasks a breeze. + + + premake + + diff --git a/dev-util/premake/premake-3.7.ebuild b/dev-util/premake/premake-3.7.ebuild new file mode 100644 index 000000000000..91026f3efad0 --- /dev/null +++ b/dev-util/premake/premake-3.7.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit versionator + +DESCRIPTION="A makefile generation tool" +HOMEPAGE="http://industriousone.com/premake" +SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip" + +LICENSE="GPL-2" +SLOT=$(get_major_version) +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR}/${P/p/P} + +src_install() { + dobin bin/${PN} +} diff --git a/dev-util/premake/premake-4.3-r1.ebuild b/dev-util/premake/premake-4.3-r1.ebuild new file mode 100644 index 000000000000..7aba60fc21ee --- /dev/null +++ b/dev-util/premake/premake-4.3-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit versionator eutils + +DESCRIPTION="A makefile generation tool" +HOMEPAGE="http://industriousone.com/premake" +SRC_URI="mirror://sourceforge/premake/${P}-src.zip" + +LICENSE="BSD" +SLOT=$(get_major_version) +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}/archless.patch" +} + +src_compile() { + emake -C build/gmake.unix/ +} + +src_install() { + dobin bin/release/premake4 +} -- cgit v1.2.3