2009-10-08 03:40:19 +00:00
|
|
|
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
2009-10-10 03:25:07 +00:00
|
|
|
|
2009-10-08 03:40:19 +00:00
|
|
|
pkgname=cracklib
|
|
|
|
pkgver=2.8.13
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Password Checking Library"
|
2009-10-10 03:25:07 +00:00
|
|
|
arch=('arm')
|
2009-10-08 03:40:19 +00:00
|
|
|
license=('GPL')
|
|
|
|
url="http://sourceforge.net/projects/cracklib"
|
|
|
|
groups=('base')
|
|
|
|
depends=('glibc')
|
|
|
|
options=('!libtool')
|
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
|
|
md5sums=('5beb4c6b3c31c83fc98c4c225b25cd94')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr --without-python
|
|
|
|
make || return 1
|
|
|
|
mkdir -p $startdir/pkg/usr/share/dict
|
|
|
|
make DESTDIR=$startdir/pkg install
|
|
|
|
cp dicts/cracklib-small $startdir/pkg/usr/share/dict
|
|
|
|
sh ./util/cracklib-format dicts/cracklib-small \
|
|
|
|
| sh ./util/cracklib-packer $startdir/pkg/usr/share/cracklib/pw_dict
|
|
|
|
}
|