void-packages/srcpkgs/cracklib/template

54 lines
1.3 KiB
Bash
Raw Normal View History

# Template file for 'cracklib'
pkgname=cracklib
2015-04-18 07:25:36 +02:00
version=2.9.4
2014-10-20 18:56:17 +02:00
revision=1
lib32disabled=yes
create_wrksrc=yes
build_wrksrc="${pkgname}-${version}"
build_style=gnu-configure
2012-08-23 14:48:16 +02:00
configure_args="--disable-static"
2015-04-12 09:40:27 +02:00
hostmakedepends="libtool automake gettext-devel python-devel"
makedepends="python-devel"
short_desc="Password Checking Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-02-06 10:13:04 +01:00
license="LGPL-2.1"
2012-08-23 14:48:16 +02:00
homepage="http://cracklib.sourceforge.net/"
distfiles="
${SOURCEFORGE_SITE}/cracklib/${pkgname}-${version}.tar.gz
${SOURCEFORGE_SITE}/cracklib/${pkgname}-words-1.2.gz"
checksum="
2015-04-18 07:25:36 +02:00
f2a866b4b9808344228ea6d68b69e3ba9a8a99210e23dfd718d4b95c60be8958
9b323c100780f2a817ab3de082b8bfaa4478bfa174dcbd016810ed8be60cbe16"
2015-04-12 09:40:27 +02:00
pre_configure() {
autoreconf -fi
}
post_install() {
vinstall ${wrksrc}/cracklib-words-1.2 644 usr/share/cracklib cracklib-words
}
cracklib-devel_package() {
2015-04-12 09:40:27 +02:00
depends="zlib-devel libcracklib-${version}_${revision}"
2013-06-11 15:15:15 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}
cracklib-python_package() {
lib32disabled=yes
depends="python"
2013-06-11 15:15:15 +02:00
short_desc+=" - python bindings"
pycompile_module="cracklib.py"
pkg_install() {
vmove "usr/lib/python*"
}
}
libcracklib_package() {
2013-06-11 15:15:15 +02:00
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so*"
}
}