mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 03:44:39 +08:00
30 lines
899 B
Bash
30 lines
899 B
Bash
# $Id: PKGBUILD 79080 2010-04-30 07:02:25Z tpowa $
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
|
|
|
|
pkgname=cracklib
|
|
pkgver=2.8.16
|
|
pkgrel=1
|
|
pkgdesc="Password Checking Library"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://sourceforge.net/projects/cracklib"
|
|
depends=('glibc' 'zlib')
|
|
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
|
|
}
|
|
|
|
package() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
install -Dm644 dicts/cracklib-small $pkgdir/usr/share/dict/cracklib-small
|
|
sh ./util/cracklib-format dicts/cracklib-small \
|
|
| sh ./util/cracklib-packer $pkgdir/usr/share/cracklib/pw_dict
|
|
}
|
|
md5sums=('3bfb22db8fcffd019463ee415a1b25b7')
|