wok-current view gdal/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents a3c45ab9082e
children
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/old_releases/$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 }