2008-12-16 02:17:52 +01:00
|
|
|
# Template file for 'cracklib'
|
|
|
|
pkgname=cracklib
|
2015-11-15 12:26:26 +01:00
|
|
|
version=2.9.6
|
2015-07-16 07:39:55 +02:00
|
|
|
revision=1
|
2014-03-29 15:23:56 +01:00
|
|
|
lib32disabled=yes
|
2013-02-07 05:06:39 +01:00
|
|
|
create_wrksrc=yes
|
|
|
|
build_wrksrc="${pkgname}-${version}"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2015-11-15 12:26:26 +01:00
|
|
|
configure_args="--disable-static"
|
|
|
|
hostmakedepends="libtool automake gettext-devel python"
|
2013-02-07 05:06:39 +01:00
|
|
|
makedepends="python-devel"
|
2008-12-16 02:17:52 +01:00
|
|
|
short_desc="Password Checking Library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-02-06 10:13:04 +01:00
|
|
|
license="LGPL-2.1"
|
2015-11-15 12:26:26 +01:00
|
|
|
homepage="https://github.com/cracklib/cracklib"
|
2013-02-07 05:06:39 +01:00
|
|
|
distfiles="
|
2015-11-15 12:26:26 +01:00
|
|
|
https://github.com/cracklib/cracklib/releases/download/cracklib-${version}/cracklib-${version}.tar.gz
|
|
|
|
https://github.com/cracklib/cracklib/releases/download/cracklib-${version}/cracklib-words-${version}.bz2"
|
2013-02-07 05:06:39 +01:00
|
|
|
checksum="
|
2015-11-15 12:26:26 +01:00
|
|
|
17cf76943de272fd579ed831a1fd85339b393f8d00bf9e0d17c91e972f583343
|
|
|
|
460307bb9b46dfd5068d62178285ac2f70279e64b968972fe96f5ed07adc1a77"
|
2013-02-07 05:06:39 +01:00
|
|
|
|
2015-04-12 09:40:27 +02:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2012-01-30 09:11:16 +01:00
|
|
|
post_install() {
|
2015-11-15 12:26:26 +01:00
|
|
|
vinstall ${wrksrc}/cracklib-words-${version} 644 usr/share/cracklib cracklib-words
|
2008-12-16 02:17:52 +01:00
|
|
|
}
|
2013-04-11 10:33:01 +02:00
|
|
|
|
|
|
|
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"
|
2013-04-11 10:33:01 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cracklib-python_package() {
|
2014-03-29 15:23:56 +01:00
|
|
|
lib32disabled=yes
|
2013-04-11 10:33:01 +02:00
|
|
|
depends="python"
|
2013-06-11 15:15:15 +02:00
|
|
|
short_desc+=" - python bindings"
|
2013-04-11 10:33:01 +02:00
|
|
|
pycompile_module="cracklib.py"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/python*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libcracklib_package() {
|
2013-06-11 15:15:15 +02:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-11 10:33:01 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|