wok-next view postgis/receipt @ rev 20773
jack2: up (1.9.12)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 19:59:31 2018 +0300 (2018-06-06) |
parents | 9e5dca6702bf |
children | f48456621a9d |
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 gtk+-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="gtk+ postgis"
35 ;;
36 postgis)
37 copy @std @rm
38 DEPENDS="geos proj libpostgresqlclient libxml2 libgdal"
39 ;;
40 esac
41 }