# HG changeset patch # User Pascal Bellard # Date 1346412488 -7200 # Node ID 88d4d946709709f992eaeca13617e1602858250f # Parent 76da15478fea763b6001f23372a404cb0c9d04bc postgresql: add perl & python support diff -r 76da15478fea -r 88d4d9467097 postgresql/receipt --- a/postgresql/receipt Fri Aug 31 11:42:07 2012 +0200 +++ b/postgresql/receipt Fri Aug 31 13:28:08 2012 +0200 @@ -8,11 +8,13 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.postgresql.org/" WGET_URL="ftp://ftp.postgresql.org/pub/source/v$VERSION/$TARBALL" -DEPENDS="postgresql-client slitaz-base-files" -BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev bison flex perl libxslt" CONFIG_FILES="/var/lib/pgsql/*.conf" DATABASE_FILES="/var/lib/pgsql" +DEPENDS="postgresql-client slitaz-base-files" +BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev bison flex perl libxslt \ +python-dev" + # Rules to configure and make the package. compile_rules() { @@ -22,6 +24,7 @@ ./configure --prefix=/usr --infodir=/usr/share/info \ --sysconfdir=/etc --includedir=/usr/include/postgresql --with-gnu-ld \ --with-includes=/usr/include/readline --enable-integer-datetimes \ + --with-perl --with-python \ --enable-thread-safety --with-system-tzdata=/usr/share/zoneinfo \ --libdir=/usr/lib/postgresql --mandir=/usr/share/man \ $CONFIGURE_ARGS && @@ -35,10 +38,10 @@ { mkdir -p $fs/usr/share $fs/usr/lib $fs/var/lib/pgsql \ $fs/var/log/postgresql $fs/etc/pgsql.d - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib/postgresql $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/postgresql $fs/usr/lib rm -f $fs/usr/lib/postgresql/*a - cp -a $_pkg/usr/share/postgresql $fs/usr/share + cp -a $install/usr/share/postgresql $fs/usr/share cp -a $stuff/etc $fs ln -s /var/lib/pgsql/postgresql.conf $fs/etc chmod 700 $fs/var/lib/pgsql