summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-01 03:25:25 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:44:05 +0100
commitdddb0d89dcb3283a1dbfc5c501341aa8dd93d0da (patch)
tree9035125eceb2ff20d6f49c6896c082c67606b590 /app-admin
parentx11-wm/muffin: fix typo in patch comment (diff)
downloadgentoo-dddb0d89dcb3283a1dbfc5c501341aa8dd93d0da.tar.gz
gentoo-dddb0d89dcb3283a1dbfc5c501341aa8dd93d0da.tar.bz2
gentoo-dddb0d89dcb3283a1dbfc5c501341aa8dd93d0da.zip
app-admin/killproc: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/killproc/killproc-2.13-r1.ebuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/app-admin/killproc/killproc-2.13-r1.ebuild b/app-admin/killproc/killproc-2.13-r1.ebuild
index 74151e6b9324..8dde4efdad98 100644
--- a/app-admin/killproc/killproc-2.13-r1.ebuild
+++ b/app-admin/killproc/killproc-2.13-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="killproc and assorted tools for boot scripts"
HOMEPAGE="http://ftp.suse.com/pub/projects/init/"
@@ -12,18 +13,22 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
+PATCHES=(
+ "${FILESDIR}/${P}-makefile.patch"
+ "${FILESDIR}/${P}-argz.patch"
+)
+
src_prepare() {
- epatch \
- "${FILESDIR}/${P}-makefile.patch" \
- "${FILESDIR}/${P}-argz.patch"
+ default
tc-export CC
- export COPTS=${CFLAGS}
+ export COPTS="${CFLAGS}"
}
src_install() {
into /
dosbin checkproc fsync killproc startproc usleep
+
into /usr
doman *.8 *.1
dodoc README *.lsm