summaryrefslogtreecommitdiffstats
path: root/postgresql/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-06-02 15:03:34 +0000
committerpiernov <piernov@piernov.org>2012-06-02 15:03:34 +0000
commit6caa955e1bb146cb21d2413e703b8869c2a92f6a (patch)
treee97b8aef5302a5af8007dca00090207c7c3ed0a4 /postgresql/Pkgfile
parent5ca8304bb81d4ae8ab367cbf9e34a8f34ab48e13 (diff)
downloadnutyx-extra-6caa955e1bb146cb21d2413e703b8869c2a92f6a.tar.gz
nutyx-extra-6caa955e1bb146cb21d2413e703b8869c2a92f6a.tar.bz2
nutyx-extra-6caa955e1bb146cb21d2413e703b8869c2a92f6a.tar.xz
nutyx-extra-6caa955e1bb146cb21d2413e703b8869c2a92f6a.zip
postgresql 9.1.3-1 màj port
Diffstat (limited to 'postgresql/Pkgfile')
-rw-r--r--postgresql/Pkgfile62
1 files changed, 27 insertions, 35 deletions
diff --git a/postgresql/Pkgfile b/postgresql/Pkgfile
index c957032a6..58bf43fce 100644
--- a/postgresql/Pkgfile
+++ b/postgresql/Pkgfile
@@ -6,42 +6,34 @@
# Run on: libxml2,linux-pam
name=postgresql
-version=9.0.3
-release=2
+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/{$name-9.0.3-nutyx-1.patch,$name-9.0.3-build-1.patch,postgresql.pam})
+ 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
- wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2
- tar xvf $scripts-$scriptsversion.tar.bz2
-
- cd $name-$version
-
- # patch to remove regress/test make target (won't build with it present)
- patch -Np1 -i ../$name-9.0.3-build-1.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
-
- # install
- make DESTDIR=$PKG install
-
- # install license
- install -D -m644 COPYRIGHT $PKG/usr/share/licenses/$name/LICENSE
-
- cd ../$scripts-$scriptsversion
- patch -Np1 -i ../$name-9.0.3-nutyx-1.patch
- make DESTDIR=$PKG install-postgresql
-
- # install pam file
- install -D -m644 $SRC/postgresql.pam $PKG/etc/pam.d/postgresql
+ 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
}
-