wok-next view postgis/receipt @ rev 21080
Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 02:07:02 2018 +0200 (2018-12-24) |
parents | d5aab818505e |
children |
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="devel@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 libtiff"
16 SPLIT="$PACKAGE-gui $PACKAGE"
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 }