void-packages/srcpkgs/mokutil/template

23 lines
693 B
Bash

# Template file for 'mokutil'
pkgname=mokutil
version=0.7.0
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake pkg-config"
makedepends="keyutils-devel libefivar-devel openssl-devel"
short_desc="Utility to manipulate machine owner keys"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/lcp/mokutil"
changelog="https://github.com/lcp/mokutil/releases"
distfiles="https://github.com/lcp/mokutil/archive/refs/tags/${version}.tar.gz"
checksum=736b9a23003d36eba0bc6ee7e56ce70aa7f0f31cb34dde5c9e5bd093c1d2dab1
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
pre_configure() {
autoreconf -fi
}