wok-6.x view gdal/receipt @ rev 24559
updated fop (2.4 -> 2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 15:52:00 2022 +0100 (2022-02-25) |
parents | a78610b2eb47 |
children | 94dd3813f40d |
line source
1 # SliTaz package receipt.
3 PACKAGE="gdal"
4 VERSION="1.9.0"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://download.osgeo.org/gdal/$TARBALL"
13 DEPENDS="libgdal gdal-bin gdal-datas"
14 BUILD_DEPENDS="python-dev postgresql-dev geos-dev proj-dev curl-dev \
15 swig tiff-dev jasper-dev jpeg-dev file"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL)/$(wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed '/href="[0-9]/!d;s|.*href="\(.*\)/".*|\1|' | sort -Vr | sed q) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --sysconfdir=/etc \
28 --localstatedir=/var \
29 --datadir=/usr/share/gdal \
30 --with-threads \
31 --with-perl \
32 --with-python \
33 --with-geos \
34 --with-sqlite3=no \
35 --with-ogr 2>&1 | grep -v config.rpath &&
36 make && make install BINDINGS="perl python"
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir $fs/usr
44 }