void-packages/srcpkgs/libpam-policycache/template

25 lines
797 B
Bash

# Template file for 'libpam-policycache'
pkgname=libpam-policycache
version=0.10
revision=2
build_style=gnu-configure
hostmakedepends="autoconf automake libtool pkg-config"
makedepends="glib-devel libscrypt-devel pam-devel"
short_desc="Password caching module with advanced policies for PAM"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="Apache-2.0"
homepage="https://github.com/google/libpam-policycache"
distfiles="https://github.com/google/libpam-policycache/archive/v$version.tar.gz"
checksum=7a8210d4a64980af11ff770578e724f2eae2aca56b4cc5977902290468f5aaf0
make_dirs="/etc/libpam-policycache.d 0755 root root
/var/cache/libpam-policycache 0700 root root"
case "$XBPS_TARGET_MACHINE" in
*musl) broken="Requires glibc extensions";;
esac
pre_configure() {
./autogen.sh
}