This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
overlay/sys-apps/hashboot/hashboot-9999.ebuild

49 lines
840 B
Bash
Raw Normal View History

# Copyright 1999-2019 Gentoo Authors
2018-06-21 21:43:10 +02:00
# Distributed under the terms of the GNU General Public License v2
EAPI=7
2018-05-08 06:50:18 +02:00
2018-05-22 00:52:05 +02:00
EGIT_REPO_URI="https://github.com/tastytea/hashboot.git"
2018-05-08 06:50:18 +02:00
inherit git-r3
2018-05-08 06:50:18 +02:00
DESCRIPTION="Check integrity of files in /boot"
HOMEPAGE="https://github.com/tastytea/hashboot/"
2018-05-08 06:50:18 +02:00
LICENSE="hug-ware"
SLOT="0"
2018-05-22 00:52:05 +02:00
KEYWORDS=""
2018-05-08 06:50:18 +02:00
IUSE=""
RDEPEND="
sys-apps/coreutils
app-arch/tar
sys-apps/findutils
sys-apps/grep
virtual/awk
app-shells/bash:*
2018-05-08 06:50:18 +02:00
sys-apps/util-linux
sys-apps/diffutils
sys-apps/sed
app-text/asciidoc
2018-05-08 06:50:18 +02:00
"
DEPEND="sys-apps/grep"
2018-05-08 06:50:18 +02:00
src_preinst() {
default
2018-05-08 06:50:18 +02:00
if grep -q '^rc_parallel="YES"' /etc/rc.conf
then
ewarn "hashboot does not work properly with parallel boot enabled."
fi
}
src_compile() {
./build_manpage.sh
}
2018-05-08 06:50:18 +02:00
src_install() {
dodoc README.md
2018-05-08 06:50:18 +02:00
dobin hashboot
newinitd initscript.openrc hashboot
doman ${PN}.1
2018-05-08 06:50:18 +02:00
}