# Description: Système de base de données relationnelles très complète basée sur les objects # URL: http://www.postgresql.org/ # Maintainer: NuTyX core team # Packager: lesibel at free dot fr # Depends on: libxml2, linux-pam # Run on: libxml2,linux-pam name=postgresql version=9.1.3 release=1 source=(ftp://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 \ http://nutyx.meticul.eu/files/patchs/$name/postgresql.pam) build() { source /etc/blfs-bootscripts wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 tar xvf $scripts-$scriptsversion.tar.bz2 cd $name-$version PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --mandir=/usr/share/man \ --with-docdir=/usr/share/doc \ --with-openssl \ --with-pam \ --with-libxml \ --with-python \ --with-tcl \ --with-perl \ --enable-thread-safety \ --enable-nls make make DESTDIR=$PKG install cd ../$scripts-$scriptsversion make DESTDIR=$PKG install-postgresql install -D -m644 $SRC/postgresql.pam $PKG/etc/pam.d/postgresql }