mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
28 lines
890 B
Bash
28 lines
890 B
Bash
# $Id: PKGBUILD 30702 2009-03-21 13:49:50Z hugo $
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
|
|
|
|
pkgname=cracklib
|
|
pkgver=2.8.13
|
|
pkgrel=3
|
|
pkgdesc="Password Checking Library"
|
|
arch=(i686 x86_64)
|
|
license=('GPL')
|
|
url="http://sourceforge.net/projects/cracklib"
|
|
groups=('base')
|
|
depends=('glibc' 'zlib')
|
|
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
|
|
}
|