wok-next view gdal/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
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="devel@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="$PACKAGE-dev $PACKAGE-bin $PACKAGE-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 BINDINGS="perl python" install
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 libtiff"
58 ;;
59 esac
60 }