26 lines
842 B
Bash
26 lines
842 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.org>"
|
|
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
|
|
CFLAGS="-Wno-error=deprecated-declarations"
|
|
|
|
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
|
|
}
|