wok view gdal/receipt @ rev 16264

Add some any arch packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 05 10:12:34 2014 +0000 (2014-04-05)
parents f473b2ca85de
children fa0726833541
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 "
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 }