diff options
-rw-r--r-- | dev-util/premake/Manifest | 3 | ||||
-rw-r--r-- | dev-util/premake/metadata.xml | 19 | ||||
-rw-r--r-- | dev-util/premake/premake-5.0.0_beta2.ebuild | 34 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/premake/Manifest b/dev-util/premake/Manifest new file mode 100644 index 0000000..aa53692 --- /dev/null +++ b/dev-util/premake/Manifest @@ -0,0 +1,3 @@ +DIST premake-5.0.0_beta2.tar.gz 6491805 SHA256 84a7775fe0a90c0f649eb18b10779b84626ad8c58dea4a8f24cca83690dd47d4 SHA512 0385e2859ed8873f78e2e8e4a57112c9ec5ff5ef6c456caa7a96b9fc372f148cec9c745e19cac7daee6c55820e86e55224737aa172e2134c169303829c1080eb WHIRLPOOL fad81de43b4651b7ca779b2bade610d09565955dbd479ba8616c686878d03468dc33f9103e4aa0a0ce0d993c1d3ed98bad51cb22cf2b322c64103c9ceb80245e +EBUILD premake-5.0.0_beta2.ebuild 623 SHA256 19e48f8dd89e76411e7be5c537bd49f812bdba9469cc065200f31b1c531d8048 SHA512 c0805b02d305808b314da30497a03f38e2e1216aa14b63419a76696033f0bfd2b2e2f87b7c74dd9840c60f0fa1b32d946aeae1cb4f0dddf277f76e3363a1b9e1 WHIRLPOOL 778307fca816dfe4015213c2ac8f7eb5c4f79e439d96a3699a034f171242ee22583e71c1ac04867c7755e466f30c2e9ddfa92dc50f8175c6a88a977b42142c91 +MISC metadata.xml 771 SHA256 d1d1e656f4125ae73935c6ff2dcea75e66ba9613154cc97405835f2f323fddea SHA512 ceb9e5f086a4ac803c1aa901b45fbc9a37a6dd75b5c573ad49772413631c897b54cd53b2873b42c91b000a087e48dc13300a9b945292b848a0f462a738f689b0 WHIRLPOOL f1422d00ca309c595418df1e3df833eca7fb076f97151b813b7801de254b34d7ca7a4eb0bf0828cf488ea2c570f2b9f8752074aa2dc687ac6d80683759e35254 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>titanofold@gentoo.org</email> + <name>Aaron W. Swenson</name> + </maintainer> + <longdescription lang="en"> + 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. + </longdescription> + <upstream> + <remote-id type="github">premake/premake-core</remote-id> + <remote-id type="sourceforge">premake</remote-id> + </upstream> +</pkgmetadata> 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 +} |