hashboot/hashboot-9999.ebuild

54 lines
811 B
Bash
Raw Normal View History

2015-09-26 00:19:06 +02:00
EAPI="4"
EGIT_REPO_URI="https://github.com/tastytea/hashboot.git"
2015-09-26 00:19:06 +02:00
inherit eutils git-2
DESCRIPTION="Check integrity of files in /boot"
HOMEPAGE="https://git.tastytea.de/?p=hashboot.git"
2015-10-03 20:25:14 +02:00
LICENSE="hug-ware"
2015-09-26 00:19:06 +02:00
SLOT="0"
KEYWORDS=""
2015-09-26 00:19:06 +02:00
IUSE=""
RDEPEND="
sys-apps/coreutils
app-arch/tar
sys-apps/findutils
sys-apps/grep
virtual/awk
2015-09-30 02:13:16 +02:00
app-shells/bash
sys-apps/util-linux
2015-10-05 00:13:39 +02:00
sys-apps/diffutils
sys-apps/sed
2015-09-26 00:19:06 +02:00
"
DEPEND="${RDEPEND}
"
PDEPEND="
"
src_unpack() {
git-2_src_unpack
}
src_prepare() {
2015-10-04 17:19:47 +02:00
if grep -q '^rc_parallel="YES"' /etc/rc.conf
then
ewarn "hashboot does not work properly with parallel boot enabled."
fi
mkdir init
mv initscript.openrc init/hashboot
2015-10-03 20:25:14 +02:00
mv LICENSE HUG-WARE
2015-09-26 00:19:06 +02:00
}
src_install() {
dodoc README
2015-10-03 20:25:14 +02:00
insinto /usr/portage/licenses
doins HUG-WARE
2015-10-03 23:08:50 +02:00
dobin hashboot
doinitd init/hashboot
}