31 lines
889 B
Bash
31 lines
889 B
Bash
# Template file for 'passwdqc'
|
|
pkgname=passwdqc
|
|
version=1.4.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="Password strength checking and policy enforcement toolset"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-3-Clause,0BSD"
|
|
homepage="http://www.openwall.com/passwdqc/"
|
|
distfiles="http://www.openwall.com/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=72689c31c34d48349a7c2aab2cf6cf95b8d22818758aba329d5e0ead9f95fc97
|
|
|
|
do_build() {
|
|
make ${makejobs} CC="$CC" LD="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
|
$make_install_args
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
passwdqc-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|