From 1a891b97f3fd49ef9113db67f7d6be17671a4db9 Mon Sep 17 00:00:00 2001 From: tnut Date: Tue, 3 Apr 2012 20:44:08 +0200 Subject: postgresql est un service --- libpostgresql/Pkgfile | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 libpostgresql/Pkgfile (limited to 'libpostgresql/Pkgfile') 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 + +} + -- cgit v1.2.3-70-g09d2