# HG changeset patch # User Eric Joseph-Alexandre # Date 1328052326 -3600 # Node ID e6447f7d71567aa6b4d4fb7597812b80d23509e5 # Parent a2a779a6f0d14cea576041d048bc4060d2543f91 Add: postgis, postgis-gui diff -r a2a779a6f0d1 -r e6447f7d7156 postgis-gui/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/postgis-gui/receipt Wed Feb 01 00:25:26 2012 +0100 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="postgis-gui" +VERSION="1.5.3" +CATEGORY="misc" +SHORT_DESC="Support for geographic objects to PostgreSQL" +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://postgis.refractions.net/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WANTED="postgis" + +DEPENDS="gtk-+ postgis" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $install/usr/bin/shp2pgsql-gui $fs/usr/bin +} diff -r a2a779a6f0d1 -r e6447f7d7156 postgis/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/postgis/receipt Wed Feb 01 00:25:26 2012 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="postgis" +VERSION="1.5.3" +CATEGORY="misc" +SHORT_DESC="Support for geographic objects to PostgreSQL" +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://postgis.refractions.net/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://postgis.refractions.net/download/$TARBALL" + +DEPENDS="geos proj libpostgresqlclient" +BUILD_DEPENDS="postgresql-dev geos-dev proj-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --with-gui $CONFIGURE_ARGS \ + && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + rm -f $fs/usr/bin/shp2pgsql-gui +}