updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / postgresql9 / PKGBUILD
blob9995da20c28297b4a4acb1930248f287aca65916
1 # Maintainer: Journeyman <journeyman at kernel-panic dot dnsdojo dot net>
2 # i686 binary can be found at the kernel-panic arch repo
4 pkgname=postgresql9
5 pkgver=9.0.5
6 pkgrel=1
7 pkgdesc="A sophisticated object-relational DBMS"
8 arch=('i686' 'x86_64')
9 url="http://www.postgresql.org/"
10 license=('BSD')
11 depends=('libxml2' 'readline' 'heimdal' 'openssl' 'pam' 'libldap')
12 optdepends=('tcl: for PL/Tcl' 
13             'perl: for PL/Perl'
14             'python2: for PL/Python')
15 makedepends=('intltool' 'perl' 'python' 'tcl' 'libxslt')
16 conflicts=('postgresql' 'postgresql-libs')
17 options=('!libtool')
18 source=(http://wwwmaster.postgresql.org/redir/376/h/source/v${pkgver}/${pkgname/9/}-${pkgver}.tar.bz2)
19 md5sums=('86816eb8a8513532957b96045abdfef9')
21 build() {
22   cd "${srcdir}/${pkgname/9/}-${pkgver}"
23   ./configure --prefix=/usr \
24         --with-perl \
25         --with-python \
26         --with-tcl \
27         --with-ldap \
28         --with-gssapi \
29         --with-pam \
30         --with-openssl \
31         --with-libxml \
32         --with-libxslt
33   make || return 1
34   make DESTDIR="${pkgdir}" install