wok-current rev 11628
Add: postgis, postgis-gui
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Feb 01 00:25:26 2012 +0100 (2012-02-01) |
parents | a2a779a6f0d1 |
children | c47e4f56e593 |
files | postgis-gui/receipt postgis/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/postgis-gui/receipt Wed Feb 01 00:25:26 2012 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="postgis-gui" 1.7 +VERSION="1.5.3" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Support for geographic objects to PostgreSQL" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +WEB_SITE="http://postgis.refractions.net/" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WANTED="postgis" 1.14 + 1.15 +DEPENDS="gtk-+ postgis" 1.16 + 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p $fs/usr/bin 1.22 + cp -a $install/usr/bin/shp2pgsql-gui $fs/usr/bin 1.23 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/postgis/receipt Wed Feb 01 00:25:26 2012 +0100 2.3 @@ -0,0 +1,27 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="postgis" 2.7 +VERSION="1.5.3" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="Support for geographic objects to PostgreSQL" 2.10 +MAINTAINER="erjo@slitaz.org" 2.11 +WEB_SITE="http://postgis.refractions.net/" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WGET_URL="http://postgis.refractions.net/download/$TARBALL" 2.14 + 2.15 +DEPENDS="geos proj libpostgresqlclient" 2.16 +BUILD_DEPENDS="postgresql-dev geos-dev proj-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + ./configure --with-gui $CONFIGURE_ARGS \ 2.22 + && make && make install 2.23 +} 2.24 + 2.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.26 +genpkg_rules() 2.27 +{ 2.28 + cp -a $install/* $fs 2.29 + rm -f $fs/usr/bin/shp2pgsql-gui 2.30 +}