diff options
Diffstat (limited to 'dev-util/premake/premake-5.0.0_beta2.ebuild')
-rw-r--r-- | dev-util/premake/premake-5.0.0_beta2.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-util/premake/premake-5.0.0_beta2.ebuild b/dev-util/premake/premake-5.0.0_beta2.ebuild new file mode 100644 index 0000000..b20e774 --- /dev/null +++ b/dev-util/premake/premake-5.0.0_beta2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 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 ~x86" + +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 +} |