wok-current view gdal/receipt @ rev 17736

prelink: force libpthread link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 12:45:18 2015 +0100 (2015-03-06)
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 }