2012-06-20 15:41:06 +00:00
|
|
|
# Template file for 'libpwquality'
|
|
|
|
pkgname=libpwquality
|
2014-08-14 13:58:37 +00:00
|
|
|
version=1.2.4
|
|
|
|
revision=1
|
2012-06-20 15:41:06 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static --enable-pam --disable-python-bindings
|
2012-10-22 21:12:25 +00:00
|
|
|
--with-securedir=/usr/lib/security"
|
2014-08-14 13:58:37 +00:00
|
|
|
hostmakedepends="libtool automake gettext-devel"
|
2013-04-13 11:29:34 +00:00
|
|
|
makedepends="cracklib-devel pam-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/security/pwquality.conf"
|
2012-06-20 15:41:06 +00:00
|
|
|
short_desc="Library for password quality checking and generating random passwords"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-06-20 15:41:06 +00:00
|
|
|
homepage="https://fedorahosted.org/libpwquality/"
|
2013-02-13 08:26:39 +00:00
|
|
|
license="GPL-2"
|
2012-06-20 15:41:06 +00:00
|
|
|
distfiles="https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$version.tar.bz2"
|
2014-08-14 13:58:37 +00:00
|
|
|
checksum=9ad67be364a66dc8b334a473c77d9f531137ee0e9d85d81f567f410a375857c7
|
2013-02-13 08:26:39 +00:00
|
|
|
|
2014-08-14 13:58:37 +00:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libpwquality-devel_package() {
|
2014-08-14 13:58:37 +00:00
|
|
|
depends="cracklib-devel ${sourcepkg}>=${version}_${revision}"
|
2013-07-04 05:33:57 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-04 05:33:57 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|