25 lines
842 B
Bash
25 lines
842 B
Bash
# Template file for 'libpam-policycache'
|
|
pkgname=libpam-policycache
|
|
version=0.11
|
|
revision=1
|
|
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=d1a074493d3a4076094a79093ec02c8fdd886069b9624d8b6765f7a1e840fae6
|
|
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
|
|
}
|