wok-current annotate postgis/receipt @ rev 14044
Up postgis (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 18:25:36 2013 +0100 (2013-02-18) |
parents | 03afa2371fe5 |
children | 7896f0694ef6 |
rev | line source |
---|---|
erjo@11628 | 1 # SliTaz package receipt. |
erjo@11628 | 2 |
erjo@11628 | 3 PACKAGE="postgis" |
pascal@14044 | 4 VERSION="2.0.2" |
erjo@11628 | 5 CATEGORY="misc" |
erjo@11628 | 6 SHORT_DESC="Support for geographic objects to PostgreSQL" |
erjo@11628 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@11628 | 8 WEB_SITE="http://postgis.refractions.net/" |
erjo@11628 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11628 | 10 WGET_URL="http://postgis.refractions.net/download/$TARBALL" |
erjo@11628 | 11 |
pascal@14044 | 12 DEPENDS="geos proj libpostgresqlclient libxml2 libgdal" |
pascal@14044 | 13 BUILD_DEPENDS="postgresql-dev geos-dev proj-dev libxml2-dev gtk+-dev gdal-dev" |
erjo@11628 | 14 |
erjo@11628 | 15 # Rules to configure and make the package. |
erjo@11628 | 16 compile_rules() |
erjo@11628 | 17 { |
erjo@11628 | 18 ./configure --with-gui $CONFIGURE_ARGS \ |
erjo@11628 | 19 && make && make install |
erjo@11628 | 20 } |
erjo@11628 | 21 |
erjo@11628 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11628 | 23 genpkg_rules() |
erjo@11628 | 24 { |
erjo@11628 | 25 cp -a $install/* $fs |
erjo@11628 | 26 rm -f $fs/usr/bin/shp2pgsql-gui |
erjo@11628 | 27 } |