47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
# Template file for 'cracklib'
|
|
pkgname=cracklib
|
|
version=2.9.7
|
|
revision=2
|
|
create_wrksrc=yes
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="libtool automake gettext-devel"
|
|
short_desc="Password Checking Library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/cracklib/cracklib"
|
|
distfiles="https://github.com/cracklib/cracklib/releases/download/v${version}/cracklib-${version}.tar.gz
|
|
https://github.com/cracklib/cracklib/releases/download/v${version}/cracklib-words-${version}.gz"
|
|
checksum="8b6fd202f3f1d8fa395d3b7a5d821227cfd8bb4a9a584a7ae30cf62cea6287dd
|
|
7f0c45faf84a2494f15d1e2720394aca4a379163a70c4acad948186c0047d389"
|
|
|
|
lib32disabled=yes
|
|
|
|
post_extract() {
|
|
mv cracklib-${version}/* .
|
|
}
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vinstall cracklib-words-${version} 644 usr/share/cracklib cracklib-words
|
|
}
|
|
|
|
cracklib-devel_package() {
|
|
depends="zlib-devel libcracklib-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libcracklib_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so*"
|
|
}
|
|
}
|