wok-next view postgis/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 10df65db91ad |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="postgis"
4 VERSION="2.4.0"
5 CATEGORY="misc"
6 SHORT_DESC="Support for geographic objects to PostgreSQL"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://postgis.refractions.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.osgeo.org/postgis/source/$TARBALL"
14 BUILD_DEPENDS="postgresql-dev geos-dev proj-dev libxml2-dev \
15 gtk2-dev gdal-dev jasper-dev curl-dev libpostgresqlclient tiff"
16 SPLIT="postgis-gui postgis"
18 compile_rules() {
19 touch config.rpath
21 ./configure \
22 --with-gui \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make -j1 &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 postgis-gui)
32 copy shp2pgsql-gui
33 CAT="misc|GUI"
34 DEPENDS="gtk2 postgis"
35 ;;
36 postgis)
37 copy @std @rm
38 DEPENDS="geos proj libpostgresqlclient libxml2 libgdal"
39 ;;
40 esac
41 }