updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / php-crack / PKGBUILD
blob2466ce48500656f9a84c28275d186cc405f8a7b5
1 # Contributor: Matteo Mattei <matteo.mattei@gmail.com>
3 pkgname=php-crack
4 pkgver=0.4
5 pkgrel=2
6 pkgdesc="This package provides an interface to the cracklib (libcrack) libraries that come standard on most unix-like distributions."
7 arch=('i686' 'x86_64')
8 url="http://pecl.php.net/package/crack"
9 license=('PHP')
10 depends=('php' 'cracklib')
11 source=(http://pecl.php.net/get/crack-${pkgver}.tgz)
12 md5sums=('7cfe9df99f546cf6bd55b535d71e3b1f')
14 build() {
15   cd ${srcdir}/crack-${pkgver}
16   phpize || return 1
17   ./configure --prefix=/usr --with-crack
18   make
19   make INSTALL_ROOT=${pkgdir} install