diff --git a/dev-util/premake/Manifest b/dev-util/premake/Manifest new file mode 100644 index 0000000..d062731 --- /dev/null +++ b/dev-util/premake/Manifest @@ -0,0 +1 @@ +DIST premake-5.0.0_beta7.tar.gz 8499540 BLAKE2B 51c6da107fb0a24c62b1a8f0ab6b1f118d4103d2e4033c2d98f104918cd1d0914cbecf93a54d481c30aebf07497ac8989d0e7048617f626725dc1be48943ebfb SHA512 b6ed480c85db82d749b22b1b97537da525d8eb062514766393c1ff4fc8077289c0037200b7bc260754f320fd5d9c109cb56adbaeec59d485cd95728564927499 diff --git a/dev-util/premake/metadata.xml b/dev-util/premake/metadata.xml new file mode 100644 index 0000000..bd6347b --- /dev/null +++ b/dev-util/premake/metadata.xml @@ -0,0 +1,19 @@ + + + + + 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/premake-core + premake + + diff --git a/dev-util/premake/premake-5.0.0_beta7.ebuild b/dev-util/premake/premake-5.0.0_beta7.ebuild new file mode 100644 index 0000000..fb2baec --- /dev/null +++ b/dev-util/premake/premake-5.0.0_beta7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PV=${PV/_/-} + +DESCRIPTION="A makefile generation tool" +HOMEPAGE="https://premake.github.io" +SRC_URI="https://github.com/premake/premake-core/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-core-${MY_PV}" + +LICENSE="BSD" +SLOT="5" +KEYWORDS="amd64 ~arm64 ppc ~ppc64 x86" + +PATCHES=( +) + +src_compile() { + # bug #773505 + tc-export AR CC + + emake -f Bootstrap.mak linux +} + +src_test() { + bin/release/premake${SLOT} test || die +} + +src_install() { + dobin bin/release/premake${SLOT} + + einstalldocs +}