wok-next view gdal/receipt @ rev 21007
libxfce4util: update bdep
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 09 02:01:11 2018 +0300 (2018-10-09) |
parents | a5d7827e08cf |
children | d5aab818505e |
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="https://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 }