summaryrefslogtreecommitdiffstats
path: root/libpostgresql/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-04-30 16:50:36 +0200
committerpiernov <piernov@piernov.org>2012-04-30 16:50:36 +0200
commita57b8503908321011d322f3f641d09fa52e83640 (patch)
treedf8c699d15d80b025d399f24213925f908bdc301 /libpostgresql/Pkgfile
parent7f6611d3e58bc3a9c9962cbb4cee94f3e987693d (diff)
downloadnutyx-extra-a57b8503908321011d322f3f641d09fa52e83640.tar.gz
nutyx-extra-a57b8503908321011d322f3f641d09fa52e83640.tar.bz2
nutyx-extra-a57b8503908321011d322f3f641d09fa52e83640.tar.xz
nutyx-extra-a57b8503908321011d322f3f641d09fa52e83640.zip
Revert "ts les services dans base ainsi que les dépendances de libgl"
Diffstat (limited to 'libpostgresql/Pkgfile')
-rw-r--r--libpostgresql/Pkgfile37
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
+
+}
+