void-packages/srcpkgs/mokutil/template

23 lines
693 B
Bash

# Template file for 'mokutil'
pkgname=mokutil
version=0.7.2
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=839d677c4fc9805f1565703ca32863e4652692c53da66a88ae9b9e30676f9e17
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
pre_configure() {
autoreconf -fi
}