wok annotate postgis/receipt @ rev 17464
Up mercurial (3.2.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 22 15:02:01 2014 +0100 (2014-12-22) |
parents | 7896f0694ef6 |
children | 2cb8ea33e031 |
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" |
pascal@15002 | 8 LICENSE="GPL2" |
erjo@11628 | 9 WEB_SITE="http://postgis.refractions.net/" |
erjo@11628 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11628 | 11 WGET_URL="http://postgis.refractions.net/download/$TARBALL" |
erjo@11628 | 12 |
pascal@14044 | 13 DEPENDS="geos proj libpostgresqlclient libxml2 libgdal" |
pascal@14044 | 14 BUILD_DEPENDS="postgresql-dev geos-dev proj-dev libxml2-dev gtk+-dev gdal-dev" |
erjo@11628 | 15 |
erjo@11628 | 16 # Rules to configure and make the package. |
erjo@11628 | 17 compile_rules() |
erjo@11628 | 18 { |
erjo@11628 | 19 ./configure --with-gui $CONFIGURE_ARGS \ |
pascal@15642 | 20 && make -j 1 && make install |
erjo@11628 | 21 } |
erjo@11628 | 22 |
erjo@11628 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11628 | 24 genpkg_rules() |
erjo@11628 | 25 { |
erjo@11628 | 26 cp -a $install/* $fs |
erjo@11628 | 27 rm -f $fs/usr/bin/shp2pgsql-gui |
erjo@11628 | 28 } |