wok-next annotate gdal/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@20031 1 # SliTaz package receipt v2.
pascal@11640 2
pascal@11640 3 PACKAGE="gdal"
pascal@20031 4 VERSION="2.2.2"
erjo@11646 5 CATEGORY="meta"
al@20513 6 SHORT_DESC="Geospatial Data Abstraction Library"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15215 8 LICENSE="MIT"
al@20906 9 WEB_SITE="https://www.gdal.org/"
al@20513 10
pascal@20031 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20031 12 WGET_URL="http://download.osgeo.org/gdal/$VERSION/$TARBALL"
pascal@11640 13
erjo@11646 14 BUILD_DEPENDS="python-dev postgresql-dev geos-dev proj-dev curl-dev \
pascal@20031 15 swig tiff-dev jasper-dev jpeg-dev perl-dev"
al@21020 16 SPLIT="$PACKAGE-dev $PACKAGE-bin $PACKAGE-datas libgdal"
pascal@11640 17
al@20568 18 COOKOPTS="skip-log-errors"
al@20568 19
al@20513 20 compile_rules() {
al@20570 21 # fix math
al@20513 22 ./configure \
erjo@11646 23 --datadir=/usr/share/gdal \
erjo@11646 24 --with-threads \
erjo@11646 25 --with-perl \
erjo@11646 26 --with-python \
erjo@11646 27 --with-geos \
erjo@11646 28 --with-sqlite3=no \
al@20513 29 --with-ogr &&
al@20570 30 fix libtool &&
al@20534 31 make &&
al@21020 32 make BINDINGS="perl python" install
pascal@11640 33 }
pascal@11640 34
al@20513 35 genpkg_rules() {
pascal@20031 36 case $PACKAGE in
al@20513 37 gdal)
al@20513 38 DEPENDS="libgdal gdal-bin gdal-datas"
al@20513 39 ;;
al@20513 40 gdal-dev)
al@20513 41 copy @dev
al@20513 42 DEPENDS="libgdal"
al@20513 43 ;;
al@20513 44 gdal-bin)
al@20513 45 copy bin/ @rm # remove dev gdal-config
al@20513 46 CAT="misc|tools"
al@20513 47 DEPENDS="libgdal"
al@20513 48 ;;
al@20513 49 gdal-datas)
al@20513 50 copy usr/share/gdal/
al@20513 51 CAT="misc|datas"
al@20513 52 DEPENDS="libgdal"
al@20513 53 ;;
al@20513 54 libgdal)
al@20513 55 copy *.so*
al@20513 56 CAT="misc|library"
al@21080 57 DEPENDS="geos proj libcurl jasper libpostgresqlclient libtiff"
al@20513 58 ;;
pascal@20031 59 esac
pascal@11640 60 }