47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
# Template file for 'cracklib'
|
|
pkgname=cracklib
|
|
version=2.9.11
|
|
revision=1
|
|
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="6213b986a5209fc0d4ca93734e349b8f66b36bfe9a3fae6eead14a15d82a68dc
|
|
a68a711a3135739d7b67e9f360b33f0d4eccf9bd7fac4d17c0d5e456a91c517a"
|
|
|
|
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*"
|
|
}
|
|
}
|