wok view gdal/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents 7bb096863642
children d37d15244372
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="http://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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --sysconfdir=/etc \
21 --localstatedir=/var \
22 --datadir=/usr/share/gdal \
23 --with-threads \
24 --with-perl \
25 --with-python \
26 --with-geos \
27 --with-sqlite3=no \
28 --with-ogr 2>&1 | grep -v config.rpath &&
29 make && make install BINDINGS="perl python"
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir $fs/usr
37 }