2012-06-20 17:41:06 +02:00
|
|
|
# Template file for 'libpwquality'
|
|
|
|
pkgname=libpwquality
|
2012-10-22 23:12:25 +02:00
|
|
|
version=1.2.0
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=3
|
2012-06-20 17:41:06 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static --enable-pam --disable-python-bindings
|
2012-10-22 23:12:25 +02:00
|
|
|
--with-securedir=/usr/lib/security"
|
2013-04-13 13:29:34 +02:00
|
|
|
makedepends="cracklib-devel pam-devel"
|
2012-06-20 17:41:06 +02:00
|
|
|
short_desc="Library for password quality checking and generating random passwords"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="https://fedorahosted.org/libpwquality/"
|
2013-02-13 09:26:39 +01:00
|
|
|
license="GPL-2"
|
2012-06-20 17:41:06 +02:00
|
|
|
distfiles="https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$version.tar.bz2"
|
2012-10-22 23:12:25 +02:00
|
|
|
checksum=32cfbe302ade7e7271ed44bcae8aae3b6b55ca56ff642c4ece1752ffaa8003ee
|
2013-02-13 09:26:39 +01:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="libtool automake gettext-devel"
|
2013-02-13 09:26:39 +01:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|