hashboot/hashboot-9999.ebuild

54 lines
811 B
Bash
Raw Permalink Normal View History

2015-09-25 18:19:06 -04:00
EAPI="4"
EGIT_REPO_URI="https://github.com/tastytea/hashboot.git"
2015-09-25 18:19:06 -04:00
inherit eutils git-2
DESCRIPTION="Check integrity of files in /boot"
HOMEPAGE="https://git.tastytea.de/?p=hashboot.git"
2015-10-03 14:25:14 -04:00
LICENSE="hug-ware"
2015-09-25 18:19:06 -04:00
SLOT="0"
KEYWORDS=""
2015-09-25 18:19:06 -04:00
IUSE=""
RDEPEND="
sys-apps/coreutils
app-arch/tar
sys-apps/findutils
sys-apps/grep
virtual/awk
2015-09-29 20:13:16 -04:00
app-shells/bash
sys-apps/util-linux
2015-10-04 18:13:39 -04:00
sys-apps/diffutils
sys-apps/sed
2015-09-25 18:19:06 -04:00
"
DEPEND="${RDEPEND}
"
PDEPEND="
"
src_unpack() {
git-2_src_unpack
}
src_prepare() {
2015-10-04 11:19:47 -04: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 14:25:14 -04:00
mv LICENSE HUG-WARE
2015-09-25 18:19:06 -04:00
}
src_install() {
dodoc README
2015-10-03 14:25:14 -04:00
insinto /usr/portage/licenses
doins HUG-WARE
2015-10-03 17:08:50 -04:00
dobin hashboot
doinitd init/hashboot
}