tastytea
a0b885bd89
All checks were successful
the build was successful
Package-Manager: Portage-2.3.62, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
35 lines
699 B
Bash
35 lines
699 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="Check integrity of files in /boot"
|
|
HOMEPAGE="https://github.com/tastytea/hashboot/"
|
|
SRC_URI="https://github.com/tastytea/hashboot/archive/${PV}.tar.gz"
|
|
|
|
LICENSE="hug-ware"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="firmware"
|
|
|
|
RDEPEND="firmware? ( sys-apps/flashrom )"
|
|
DEPEND="app-text/asciidoc"
|
|
|
|
src_preinst() {
|
|
default
|
|
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
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
dobin hashboot
|
|
newinitd init/openrc hashboot
|
|
doman ${PN}.1
|
|
}
|