blob: ac05c0c6cbb803afc4464186e7b9dff77078301c [file] [log] [blame]
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils toolchain-funcs
DESCRIPTION="killproc and assorted tools for boot scripts"
HOMEPAGE="http://ftp.suse.com/pub/projects/init/"
SRC_URI="ftp://ftp.suse.com/pub/projects/init/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
src_prepare() {
epatch \
"${FILESDIR}/${P}-makefile.patch" \
"${FILESDIR}/${P}-argz.patch"
tc-export CC
export COPTS=${CFLAGS}
}
src_install() {
into /
dosbin checkproc fsync killproc startproc usleep
into /usr
doman *.8 *.1
dodoc README *.lsm
}