updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mod_auth_pgsql / PKGBUILD
blob1d43f5402e5bbcddab2146a4ca44958fcc1afcbb
1 # $Id$
2 # Contributor: filip <fila pruda.com>
4 pkgname=mod_auth_pgsql
5 pkgver=2.0.3
6 pkgrel=1
7 pkgdesc="Apache PostgreSQL Authentication Module"
8 arch=(i686 x86_64)
9 url="http://www.giuseppetanzilli.it/mod_auth_pgsql2/"
10 license=("Apache")
11 depends=('apache' 'postgresql')
12 install=mod_auth_pgsql.install
13 source=(http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/$pkgname-$pkgver.tar.gz)
15 md5sums=('d44074b3b9bdb0a5eb9702814872ad43')
17 build() {
18   cd "${srcdir}/$pkgname-${pkgver}"
19   
20   /usr/sbin/apxs -c -I /usr/include/postgresql -L /usr/lib/postgresql -lpq mod_auth_pgsql.c || return 1
21   install -D -m755 .libs/mod_auth_pgsql.so $startdir/pkg/usr/lib/httpd/modules/mod_auth_pgsql.so