void-packages/srcpkgs/libpwquality/template

30 lines
977 B
Bash

# Template file for 'libpwquality'
pkgname=libpwquality
version=1.4.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.org>"
homepage="https://github.com/libpwquality/libpwquality"
license="GPL-2"
distfiles="${homepage}/releases/download/libpwquality-${version}/libpwquality-${version}.tar.bz2"
checksum=1de6ff046cf2172d265a2cb6f8da439d894f3e4e8157b056c515515232fade6b
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"
}
}