void-packages/srcpkgs/libpwquality/template
2015-08-29 23:20:50 +02:00

30 lines
957 B
Bash

# Template file for 'libpwquality'
pkgname=libpwquality
version=1.3.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-pam --disable-python-bindings
--with-securedir=/usr/lib/security"
hostmakedepends="libtool automake gettext-devel"
makedepends="cracklib-devel pam-devel"
conf_files="/etc/security/pwquality.conf"
short_desc="Library for password quality checking and generating random passwords"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://fedorahosted.org/libpwquality/"
license="GPL-2"
distfiles="https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$version.tar.bz2"
checksum=74d2ea90e103323c1f2d6a6cc9617cdae6877573eddb31aaf31a40f354cc2d2a
pre_configure() {
autoreconf -fi
}
libpwquality-devel_package() {
depends="cracklib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}