wok-next annotate 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
rev   line source
pascal@20032 1 # SliTaz package receipt v2.
erjo@11628 2
erjo@11628 3 PACKAGE="postgis"
pascal@20032 4 VERSION="2.4.0"
erjo@11628 5 CATEGORY="misc"
erjo@11628 6 SHORT_DESC="Support for geographic objects to PostgreSQL"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
erjo@11628 9 WEB_SITE="http://postgis.refractions.net/"
al@20557 10
erjo@11628 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18578 12 WGET_URL="http://download.osgeo.org/postgis/source/$TARBALL"
erjo@11628 13
al@20513 14 BUILD_DEPENDS="postgresql-dev geos-dev proj-dev libxml2-dev \
al@21080 15 gtk2-dev gdal-dev jasper-dev curl-dev libpostgresqlclient libtiff"
al@21020 16 SPLIT="$PACKAGE-gui $PACKAGE"
erjo@11628 17
al@20557 18 compile_rules() {
pascal@20058 19 touch config.rpath
al@20557 20
al@20557 21 ./configure \
al@20557 22 --with-gui \
al@20557 23 $CONFIGURE_ARGS &&
al@20604 24 fix libtool &&
al@20557 25 make -j1 &&
al@20557 26 make install
erjo@11628 27 }
erjo@11628 28
al@20557 29 genpkg_rules() {
pascal@20032 30 case $PACKAGE in
al@20557 31 postgis-gui)
al@20557 32 copy shp2pgsql-gui
al@20557 33 CAT="misc|GUI"
al@21017 34 DEPENDS="gtk2 postgis"
al@20557 35 ;;
al@20557 36 postgis)
al@20557 37 copy @std @rm
al@20557 38 DEPENDS="geos proj libpostgresqlclient libxml2 libgdal"
al@20557 39 ;;
pascal@20032 40 esac
erjo@11628 41 }