void-packages/srcpkgs/libpwquality/template

33 lines
973 B
Plaintext
Raw Normal View History

2012-06-20 17:41:06 +02:00
# Template file for 'libpwquality'
pkgname=libpwquality
2013-09-25 08:51:09 +02:00
version=1.2.3
revision=2
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"
makedepends="cracklib-devel pam-devel"
conf_files="/etc/security/pwquality.conf"
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"
2013-09-25 08:51:09 +02:00
checksum=b11c79ce7b03cdf878fccb653e67bd430155cc6fd224efbbb3e78842f752516a
2013-02-13 09:26:39 +01:00
if [ "$CROSS_BUILD" ]; then
hostmakedepends="libtool automake gettext-devel"
2013-02-13 09:26:39 +01:00
pre_configure() {
autoreconf -fi
}
fi
libpwquality-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
2013-07-04 07:33:57 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-07-04 07:33:57 +02:00
vmove "usr/lib/*.so"
}
}