Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
inherit toolchain-funcs
src_prepare() {
sed -i "/contrib+tools/d" Makefile || die
sed -i "/^STRIP/s/strip.*/true/" Makefile.include || die
+ default
}
src_compile() {
src_install() {
emake LD=$(tc-getCC) DESTDIR="${D}" install
- rm -f "${D}"/sbin/{init,shutdown,reboot}
+ rm -f "${D}"/sbin/{init,shutdown,reboot} || die
dodoc Changelog CHANGES CREDITS README TODO
use doc && dodoc -r doc
}