wok diff postgresql/receipt @ rev 13723

Added math libraries: CoCoALib, gf2x, NTL, PARI/GP as dependencies for Giac/Xcas (which is broken this time)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 08:37:05 2012 +0000 (2012-12-21)
parents 5b21efe08bd3
children e1defd13e80a
line diff
     1.1 --- a/postgresql/receipt	Sat Dec 10 21:31:55 2011 +0000
     1.2 +++ b/postgresql/receipt	Fri Dec 21 08:37:05 2012 +0000
     1.3 @@ -8,11 +8,13 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://www.postgresql.org/"
     1.6  WGET_URL="ftp://ftp.postgresql.org/pub/source/v$VERSION/$TARBALL"
     1.7 -DEPENDS="postgresql-client slitaz-base-files"
     1.8 -BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev bison flex perl libxslt"
     1.9  CONFIG_FILES="/var/lib/pgsql/*.conf"
    1.10  DATABASE_FILES="/var/lib/pgsql"
    1.11  
    1.12 +DEPENDS="postgresql-client slitaz-base-files"
    1.13 +BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev bison flex perl libxslt \
    1.14 +python-dev"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 @@ -22,6 +24,7 @@
    1.20  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.21  	--sysconfdir=/etc --includedir=/usr/include/postgresql --with-gnu-ld \
    1.22  	--with-includes=/usr/include/readline --enable-integer-datetimes \
    1.23 +	--with-perl --with-python \
    1.24  	--enable-thread-safety --with-system-tzdata=/usr/share/zoneinfo \
    1.25  	--libdir=/usr/lib/postgresql --mandir=/usr/share/man \
    1.26  	$CONFIGURE_ARGS &&
    1.27 @@ -35,10 +38,10 @@
    1.28  {
    1.29  	mkdir -p $fs/usr/share $fs/usr/lib $fs/var/lib/pgsql \
    1.30  		 $fs/var/log/postgresql $fs/etc/pgsql.d
    1.31 -	cp -a $_pkg/usr/bin $fs/usr
    1.32 -	cp -a $_pkg/usr/lib/postgresql $fs/usr/lib
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/lib/postgresql $fs/usr/lib
    1.35  	rm -f $fs/usr/lib/postgresql/*a
    1.36 -	cp -a $_pkg/usr/share/postgresql $fs/usr/share
    1.37 +	cp -a $install/usr/share/postgresql $fs/usr/share
    1.38  	cp -a $stuff/etc $fs
    1.39  	ln -s /var/lib/pgsql/postgresql.conf $fs/etc
    1.40  	chmod 700 $fs/var/lib/pgsql