wok rev 13320

postgresql: add perl & python support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 31 13:28:08 2012 +0200 (2012-08-31)
parents 76da15478fea
children efd876afd8fe
files postgresql/receipt
line diff
     1.1 --- a/postgresql/receipt	Fri Aug 31 11:42:07 2012 +0200
     1.2 +++ b/postgresql/receipt	Fri Aug 31 13:28:08 2012 +0200
     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