diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-01-12 12:38:42 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-01-12 12:38:42 +0100 |
commit | 2b4bf36b769e90e9b77a11c62a645e60e37aeea7 (patch) | |
tree | 3a04b69db9ae07c0ce44906d30e7c7070bc643ff /dev-util/premake | |
parent | dev-util/amtterm: Port to EAPI 8 (diff) | |
download | gentoo-2b4bf36b769e90e9b77a11c62a645e60e37aeea7.tar.gz gentoo-2b4bf36b769e90e9b77a11c62a645e60e37aeea7.tar.bz2 gentoo-2b4bf36b769e90e9b77a11c62a645e60e37aeea7.zip |
dev-util/premake: Port to EAPI 8
Closes: https://bugs.gentoo.org/826474
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-util/premake')
-rw-r--r-- | dev-util/premake/premake-3.7-r1.ebuild (renamed from dev-util/premake/premake-3.7.ebuild) | 15 | ||||
-rw-r--r-- | dev-util/premake/premake-4.3-r2.ebuild (renamed from dev-util/premake/premake-4.3-r1.ebuild) | 18 |
2 files changed, 12 insertions, 21 deletions
diff --git a/dev-util/premake/premake-3.7.ebuild b/dev-util/premake/premake-3.7-r1.ebuild index 91026f3efad0..ae7f896f0a9c 100644 --- a/dev-util/premake/premake-3.7.ebuild +++ b/dev-util/premake/premake-3.7-r1.ebuild @@ -1,23 +1,18 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit versionator +EAPI=8 DESCRIPTION="A makefile generation tool" HOMEPAGE="http://industriousone.com/premake" SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip" +S="${WORKDIR}/${P/p/P}" LICENSE="GPL-2" -SLOT=$(get_major_version) +SLOT="3" KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="app-arch/unzip" -RDEPEND="" -S=${WORKDIR}/${P/p/P} +BDEPEND="app-arch/unzip" src_install() { dobin bin/${PN} diff --git a/dev-util/premake/premake-4.3-r1.ebuild b/dev-util/premake/premake-4.3-r2.ebuild index 78be7cc0d8e1..3b333e7719c4 100644 --- a/dev-util/premake/premake-4.3-r1.ebuild +++ b/dev-util/premake/premake-4.3-r2.ebuild @@ -1,25 +1,21 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit versionator epatch +EAPI=8 DESCRIPTION="A makefile generation tool" HOMEPAGE="http://industriousone.com/premake" SRC_URI="mirror://sourceforge/premake/${P}-src.zip" LICENSE="BSD" -SLOT=$(get_major_version) +SLOT="4" KEYWORDS="amd64 ppc x86" -IUSE="" -DEPEND="app-arch/unzip" -RDEPEND="" +BDEPEND="app-arch/unzip" -src_prepare() { - epatch "${FILESDIR}/archless.patch" -} +PATCHES=( + "${FILESDIR}"/archless.patch +) src_compile() { emake -C build/gmake.unix/ |