# Template file for 'libpwquality' pkgname=libpwquality version=1.2.2 revision=1 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 " homepage="https://fedorahosted.org/libpwquality/" license="GPL-2" distfiles="https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$version.tar.bz2" checksum=9689627283b43d20ca74ca822404ee486242e3e528fa95bf7016d37ff46e0696 if [ "$CROSS_BUILD" ]; then hostmakedepends="libtool automake gettext-devel" pre_configure() { autoreconf -fi } fi libpwquality-devel_package() { depends="${sourcepkg}-${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" } } libpwquality_package() { conf_files="/etc/security/pwquality.conf" pkg_install() { vmove all } }