summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-05 15:40:34 +0000
committerSam James <sam@gentoo.org>2021-04-05 15:41:42 +0000
commit729124513b80d330fdb56d8a0ef32de73164ea39 (patch)
tree98fef667726cef6aed0cb032bef57b67770650e6 /dev-games
parentapp-emulation/docker: avoid using ROOT in src_compile (diff)
downloadgentoo-729124513b80d330fdb56d8a0ef32de73164ea39.tar.gz
gentoo-729124513b80d330fdb56d8a0ef32de73164ea39.tar.bz2
gentoo-729124513b80d330fdb56d8a0ef32de73164ea39.zip
dev-games/ps2-packer: port to EAPI 7, games.eclass--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ps2-packer/ps2-packer-0.4.4-r1.ebuild49
-rw-r--r--dev-games/ps2-packer/ps2-packer-0.4.4.ebuild49
2 files changed, 49 insertions, 49 deletions
diff --git a/dev-games/ps2-packer/ps2-packer-0.4.4-r1.ebuild b/dev-games/ps2-packer/ps2-packer-0.4.4-r1.ebuild
new file mode 100644
index 000000000000..5d3ee26ac3e7
--- /dev/null
+++ b/dev-games/ps2-packer/ps2-packer-0.4.4-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit wrapper
+
+DESCRIPTION="Another ELF packer for the PS2"
+HOMEPAGE="https://github.com/ps2dev/ps2-packer"
+SRC_URI="mirror://gentoo/${P}-linux.tar.gz"
+S="${WORKDIR}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+RESTRICT="strip"
+
+QA_TEXTRELS="
+ opt/ps2-packer/n2e-packer.so
+ opt/ps2-packer/n2d-packer.so
+ opt/ps2-packer/n2b-packer.so"
+
+QA_WX_LOAD="
+ opt/ps2-packer/stub/n2e-0088-stub
+ opt/ps2-packer/stub/lzo-0088-stub
+ opt/ps2-packer/stub/n2e-asm-1d00-stub
+ opt/ps2-packer/stub/null-0088-stub
+ opt/ps2-packer/stub/n2e-asm-one-1d00-stub
+ opt/ps2-packer/stub/n2e-1d00-stub
+ opt/ps2-packer/stub/zlib-1d00-stub
+ opt/ps2-packer/stub/n2b-0088-stub
+ opt/ps2-packer/stub/n2d-1d00-stub
+ opt/ps2-packer/stub/null-1d00-stub
+ opt/ps2-packer/stub/n2b-1d00-stub
+ opt/ps2-packer/stub/zlib-0088-stub
+ opt/ps2-packer/stub/lzo-1d00-stub
+ opt/ps2-packer/stub/n2d-0088-stub"
+
+RDEPEND="sys-libs/glibc"
+
+src_install() {
+ insinto /opt/${PN}
+ doins -r README.txt stub
+
+ exeinto /opt/${PN}
+ doexe *.so ps2-packer
+
+ make_wrapper ${PN} /opt/${PN}/${PN}
+}
diff --git a/dev-games/ps2-packer/ps2-packer-0.4.4.ebuild b/dev-games/ps2-packer/ps2-packer-0.4.4.ebuild
deleted file mode 100644
index 3354575677ff..000000000000
--- a/dev-games/ps2-packer/ps2-packer-0.4.4.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit games
-
-DESCRIPTION="another ELF packer for the PS2"
-HOMEPAGE="https://github.com/ps2dev/ps2-packer"
-SRC_URI="mirror://gentoo/${P}-linux.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE=""
-RESTRICT="strip"
-
-QA_TEXTRELS="
- ${GAMES_PREFIX_OPT:1}/ps2-packer/n2e-packer.so
- ${GAMES_PREFIX_OPT:1}/ps2-packer/n2d-packer.so
- ${GAMES_PREFIX_OPT:1}/ps2-packer/n2b-packer.so"
-
-QA_WX_LOAD="
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/n2e-0088-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/lzo-0088-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/n2e-asm-1d00-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/null-0088-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/n2e-asm-one-1d00-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/n2e-1d00-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/zlib-1d00-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/n2b-0088-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/n2d-1d00-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/null-1d00-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/n2b-1d00-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/zlib-0088-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/lzo-1d00-stub
- ${GAMES_PREFIX_OPT:1}/ps2-packer/stub/n2d-0088-stub"
-
-RDEPEND="sys-libs/glibc"
-
-S=${WORKDIR}
-
-src_install() {
- insinto "${GAMES_PREFIX_OPT}"/${PN}
- doins -r README.txt stub
- exeinto "${GAMES_PREFIX_OPT}"/${PN}
- doexe *.so ps2-packer
- games_make_wrapper ${PN} "${GAMES_PREFIX_OPT}"/${PN}/${PN}
- prepgamesdirs
-}