1 # Contributor: Matteo Mattei <info@matteomattei.com>
6 pkgdesc="This extension provides PAM (Pluggable Authentication Modules) integration in PHP."
8 url="http://pecl.php.net/package/PAM"
10 depends=('php' 'pam' 'php-pear')
11 makedepends=('autoconf')
12 #install=php-pam.install
13 source=(http://pecl.php.net/get/pam-${pkgver}.tgz pam.ini php)
14 md5sums=('2dfd378a76021245050333cd4d49ed96' '9582d5f0476e486f2c3084940f1abd86' '5fb207f61ff94b0cc7a2dcc1e3c1c388')
17 cd $startdir/src/pam-${pkgver}
18 install -D -m644 $srcdir/pam.ini $pkgdir/etc/php/conf.d/pam.ini
19 install -D -m644 $srcdir/php $pkgdir/etc/pam.d/php
21 ./configure --prefix=/usr || return 1
23 make INSTALL_ROOT=${startdir}/pkg install || return 1