summaryrefslogtreecommitdiffstats
path: root/extra/libpostgresql/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-06-08 20:40:17 +0200
committertnut <thierryn1 at hispeed dot ch>2010-06-08 20:40:17 +0200
commit8ee280630362fa579904b5ac0e1996a11c9d4013 (patch)
tree1ea9595795611e6bda54adb761a94fd8f0b3a32f /extra/libpostgresql/Pkgfile
parent58f9aeb25ba26dc0dfbea65f95a201e3b0948401 (diff)
downloadnutyx-pakxe-8ee280630362fa579904b5ac0e1996a11c9d4013.tar.gz
nutyx-pakxe-8ee280630362fa579904b5ac0e1996a11c9d4013.tar.bz2
nutyx-pakxe-8ee280630362fa579904b5ac0e1996a11c9d4013.tar.xz
nutyx-pakxe-8ee280630362fa579904b5ac0e1996a11c9d4013.zip
ajout de libpostgresql#8.4.4-1
Diffstat (limited to 'extra/libpostgresql/Pkgfile')
-rw-r--r--extra/libpostgresql/Pkgfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/libpostgresql/Pkgfile b/extra/libpostgresql/Pkgfile
new file mode 100644
index 000000000..2f871486a
--- /dev/null
+++ b/extra/libpostgresql/Pkgfile
@@ -0,0 +1,35 @@
+# 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
+
+name=postgresql
+version=8.4.4
+release=1
+source=(ftp://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 \
+ build.patch postgresql.pam)
+
+build() {
+
+ cd $name-$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 -j3
+
+ for i in src/interfaces src/bin/pg_config src/include; do
+ cd $i
+ make DESTDIR=$PKG install
+ cd -
+ done
+
+}