38 lines
1 KiB
Text
38 lines
1 KiB
Text
# Template file for 'libpwquality'
|
|
pkgname=libpwquality
|
|
version=1.2.0
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --enable-pam --disable-python-bindings
|
|
--with-securedir=/usr/lib/security"
|
|
makedepends="cracklib-devel pam-devel"
|
|
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 [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends="libtool automake gettext-devel"
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
fi
|
|
|
|
libpwquality-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
short_desc="${short_desc} -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
libpwquality_package() {
|
|
conf_files="/etc/security/pwquality.conf"
|
|
pkg_install() {
|
|
vmove etc
|
|
vmove usr
|
|
}
|
|
}
|