summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild23
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}"