diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-05 19:27:19 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-06 21:32:52 +0100 |
commit | 6c1ddcec1e68b62f41dd56579b9debcb513bdf5e (patch) | |
tree | 70294f4060ec9dddb5fd455863440758a881c02c | |
parent | sys-apps/apmd: Port to EAPI 8 (diff) | |
download | gentoo-6c1ddcec1e68b62f41dd56579b9debcb513bdf5e.tar.gz gentoo-6c1ddcec1e68b62f41dd56579b9debcb513bdf5e.tar.bz2 gentoo-6c1ddcec1e68b62f41dd56579b9debcb513bdf5e.zip |
sys-apps/spu-tools: Port to EAPI 8
Closes: https://bugs.gentoo.org/819243
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
-rw-r--r-- | sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild index e64a12c86a55..2955c689ee4c 100644 --- a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild +++ b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild @@ -1,35 +1,36 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit epatch flag-o-matic toolchain-funcs +inherit flag-o-matic toolchain-funcs -MY_P=${P/_p/-} +MY_P="${P/_p/-}" DESCRIPTION="CELL spu ps and top alike utilities" HOMEPAGE="https://sourceforge.net/projects/libspe" SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz" +S="${WORKDIR}/${PN}/src" LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc ppc64" RDEPEND=" - sys-libs/ncurses:0= + sys-libs/ncurses:= " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" sys-apps/help2man virtual/pkgconfig " -S="${WORKDIR}/${PN}/src" +PATCHES=( + "${FILESDIR}"/${P}-buildsystem.patch + "${FILESDIR}"/${P}-format-security.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-buildsystem.patch \ - "${FILESDIR}"/${P}-format-security.patch +src_configure() { tc-export CC append-cppflags -std=gnu89 export CFLAGS="${CFLAGS}" |