void-packages/srcpkgs/passwdqc/template

29 lines
908 B
Bash
Raw Normal View History

2015-06-05 19:50:02 +00:00
# Template file for 'passwdqc'
pkgname=passwdqc
version=1.3.0
revision=1
build_style=gnu-makefile
make_install_args="SHARED_LIBDIR=/usr/lib SECUREDIR=/usr/lib/security"
conf_files="/etc/passwdqc.conf"
makedepends="pam-devel"
short_desc="Passwordstrength checking and policy enforcement toolset"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://www.openwall.com/passwdqc/"
distfiles="http://www.openwall.com/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=23290ac21a055d9039b510bbc0d830a6dbf4295688d4317e0350ed4b6e5e7f50
do_build() {
make ${makejobs} CC="$CC" LD="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
$make_install_args
}
passwdqc-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}