wok annotate postgis/receipt @ 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 | |
children | 0b2cf9528f8b |
rev | line source |
---|---|
erjo@11628 | 1 # SliTaz package receipt. |
erjo@11628 | 2 |
erjo@11628 | 3 PACKAGE="postgis" |
erjo@11628 | 4 VERSION="1.5.3" |
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 |
erjo@11628 | 12 DEPENDS="geos proj libpostgresqlclient" |
erjo@11628 | 13 BUILD_DEPENDS="postgresql-dev geos-dev proj-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 } |