sys-fs/fsverity-utils: new package, add 1.6

Signed-off-by: Mark Harmstone <mark@harmstone.com>
This commit is contained in:
Mark Harmstone
2024-07-31 12:48:44 +01:00
parent 70762f1274
commit 62fcd02a18
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-info
inherit toolchain-funcs
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git"
inherit git-r3
else
SRC_URI="https://git.kernel.org/pub/scm/fs/fsverity/${PN}.git/snapshot/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
DESCRIPTION="Userspace utility for file-level integrity/authenticity verification"
HOMEPAGE="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git"
LICENSE="GPL-2"
SLOT="0"
DEPEND="dev-libs/openssl:="
RDEPEND="${DEPEND}"
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
emake install CC="$(tc-getCC)" DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
}