wok-next view gdal/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 5baa3b6a24e7
children a3c581bf52b8
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gdal"
4 VERSION="2.2.2"
5 CATEGORY="meta"
6 SHORT_DESC="Geospatial Data Abstraction Library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.gdal.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://download.osgeo.org/gdal/$VERSION/$TARBALL"
14 BUILD_DEPENDS="python-dev postgresql-dev geos-dev proj-dev curl-dev \
15 swig tiff-dev jasper-dev jpeg-dev perl-dev"
16 SPLIT="gdal gdal-dev gdal-bin gdal-datas libgdal"
18 COOKOPTS="skip-log-errors"
20 compile_rules() {
21 # fix math
22 ./configure \
23 --datadir=/usr/share/gdal \
24 --with-threads \
25 --with-perl \
26 --with-python \
27 --with-geos \
28 --with-sqlite3=no \
29 --with-ogr &&
30 fix libtool &&
31 make &&
32 make install BINDINGS="perl python"
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 gdal)
38 DEPENDS="libgdal gdal-bin gdal-datas"
39 ;;
40 gdal-dev)
41 copy @dev
42 DEPENDS="libgdal"
43 ;;
44 gdal-bin)
45 copy bin/ @rm # remove dev gdal-config
46 CAT="misc|tools"
47 DEPENDS="libgdal"
48 ;;
49 gdal-datas)
50 copy usr/share/gdal/
51 CAT="misc|datas"
52 DEPENDS="libgdal"
53 ;;
54 libgdal)
55 copy *.so*
56 CAT="misc|library"
57 DEPENDS="geos proj libcurl jasper libpostgresqlclient tiff"
58 ;;
59 esac
60 }