wok-next view gdal/receipt @ rev 20568

Remove dev packages that have become empty due to *.la files removing.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 12 09:48:04 2018 +0300 (2018-04-12)
parents 757d032c55c7
children a5d7827e08cf
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 make &&
31 make install BINDINGS="perl python"
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 gdal)
37 DEPENDS="libgdal gdal-bin gdal-datas"
38 ;;
39 gdal-dev)
40 copy @dev
41 DEPENDS="libgdal"
42 ;;
43 gdal-bin)
44 copy bin/ @rm # remove dev gdal-config
45 CAT="misc|tools"
46 DEPENDS="libgdal"
47 ;;
48 gdal-datas)
49 copy usr/share/gdal/
50 CAT="misc|datas"
51 DEPENDS="libgdal"
52 ;;
53 libgdal)
54 copy *.so*
55 CAT="misc|library"
56 DEPENDS="geos proj libcurl jasper libpostgresqlclient tiff"
57 ;;
58 esac
59 }