summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/killproc/killproc-2.13-r1.ebuild')
-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