diff options
author | piernov <piernov@piernov.org> | 2012-05-13 21:25:08 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-05-13 21:25:08 +0200 |
commit | f35fb119bf993d3454668f50a17334e09b77160b (patch) | |
tree | 9f1d840f10e24848f8b94eb9c5c4e811e0984232 /libpostgresql/Pkgfile | |
parent | 2814457a550d6a14e6134ac4c06b1f96a92d2061 (diff) | |
parent | 933ac25d27eb5fa5f8f983ab8ac8d507e773c044 (diff) | |
download | nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.gz nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.bz2 nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.xz nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.zip |
Merge branch 'master' of http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe
Diffstat (limited to 'libpostgresql/Pkgfile')
-rw-r--r-- | libpostgresql/Pkgfile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libpostgresql/Pkgfile b/libpostgresql/Pkgfile new file mode 100644 index 000000000..13cf0efdd --- /dev/null +++ b/libpostgresql/Pkgfile @@ -0,0 +1,37 @@ +# 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=libpostgresql +version=9.0.3 +release=2 +source=(ftp://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 \ + build.patch postgresql.pam) + +build() { + + cd postgresql-$version + + # patch to remove regress/test make target (won't build with it present) + patch -Np1 -i ../build.patch + + # configure + ./configure --prefix=/usr --mandir=/usr/share/man \ + --with-docdir=/usr/share/doc --with-openssl \ + --enable-thread-safety \ + --with-pam --with-libxml + + # build + make + + for i in src/interfaces src/bin/pg_config src/include; do + cd $i + make DESTDIR=$PKG install + cd - + done + +} + |