mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
23 lines
725 B
Bash
23 lines
725 B
Bash
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
|
pkgname=cracklib
|
|
pkgver=2.8.13
|
|
pkgrel=1
|
|
pkgdesc="Password Checking Library"
|
|
arch=(arm)
|
|
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)
|
|
|
|
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
|
|
}
|