void-packages/srcpkgs/libpwquality/template

25 lines
809 B
Plaintext

# Template file for 'libpwquality'
pkgname=libpwquality
version=1.2.0
revision=2
build_style=gnu-configure
configure_args="--disable-static --enable-pam --disable-python-bindings
--with-securedir=/usr/lib/security"
makedepends="pam-devel"
subpackages="$pkgname-devel"
conf_files="/etc/security/pwquality.conf"
short_desc="Library for password quality checking and generating random passwords"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://fedorahosted.org/libpwquality/"
license="GPL-2"
distfiles="https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$version.tar.bz2"
checksum=32cfbe302ade7e7271ed44bcae8aae3b6b55ca56ff642c4ece1752ffaa8003ee
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake gettext-devel"
crossmakedepends="pam-devel"
pre_configure() {
autoreconf -fi
}
fi