2015-09-25 18:19:06 -04:00
|
|
|
EAPI="4"
|
|
|
|
|
|
|
|
EGIT_REPO_URI="git://git.tastytea.de/repositories/hashboot.git"
|
|
|
|
|
|
|
|
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="amd64 x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
sys-apps/coreutils
|
|
|
|
app-arch/tar
|
|
|
|
sys-apps/findutils
|
|
|
|
sys-apps/grep
|
2015-09-29 18:39:38 -04:00
|
|
|
virtual/awk
|
2015-09-29 20:13:16 -04:00
|
|
|
app-shells/bash
|
2015-10-03 09:35:52 -04:00
|
|
|
sys-apps/util-linux
|
2015-10-03 13:42:26 -04:00
|
|
|
app-arch/gzip
|
2015-09-25 18:19:06 -04:00
|
|
|
"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
"
|
|
|
|
PDEPEND="
|
|
|
|
"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
git-2_src_unpack
|
|
|
|
}
|
|
|
|
|
|
|
|
src_prepare() {
|
2015-10-03 16:58:54 -04:00
|
|
|
mkdir bin
|
|
|
|
mkdir init
|
|
|
|
mv hashboot.sh init/hashboot
|
|
|
|
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 16:58:54 -04:00
|
|
|
dobin bin/hashboot
|
|
|
|
doinitd init/hashboot
|
2015-09-29 18:39:38 -04:00
|
|
|
}
|