wok-next annotate gdal/receipt @ rev 15860
libmowgli: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 30 09:02:32 2014 +0000 (2014-01-30) |
parents | f473b2ca85de |
children | fa0726833541 |
rev | line source |
---|---|
pascal@11640 | 1 # SliTaz package receipt. |
pascal@11640 | 2 |
pascal@11640 | 3 PACKAGE="gdal" |
pascal@11640 | 4 VERSION="1.9.0" |
erjo@11646 | 5 CATEGORY="meta" |
pascal@11640 | 6 SHORT_DESC="Geospatial Data Abstraction Library." |
pascal@11640 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15215 | 8 LICENSE="MIT" |
pascal@11640 | 9 WEB_SITE="http://www.gdal.org/" |
pascal@11640 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11640 | 11 WGET_URL="http://download.osgeo.org/gdal/$TARBALL" |
pascal@11640 | 12 |
erjo@11646 | 13 DEPENDS="libgdal gdal-bin gdal-datas" |
erjo@11646 | 14 BUILD_DEPENDS="python-dev postgresql-dev geos-dev proj-dev curl-dev \ |
erjo@11646 | 15 swig " |
pascal@11640 | 16 |
pascal@11640 | 17 # Rules to configure and make the package. |
pascal@11640 | 18 compile_rules() |
pascal@11640 | 19 { |
erjo@11646 | 20 ./configure --sysconfdir=/etc \ |
erjo@11646 | 21 --localstatedir=/var \ |
erjo@11646 | 22 --datadir=/usr/share/gdal \ |
erjo@11646 | 23 --with-threads \ |
erjo@11646 | 24 --with-perl \ |
erjo@11646 | 25 --with-python \ |
erjo@11646 | 26 --with-geos \ |
erjo@11646 | 27 --with-sqlite3=no \ |
pascal@15062 | 28 --with-ogr 2>&1 | grep -v config.rpath && |
pascal@15062 | 29 make && make install BINDINGS="perl python" |
pascal@11640 | 30 } |
pascal@11640 | 31 |
pascal@11640 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11640 | 33 genpkg_rules() |
pascal@11640 | 34 { |
erjo@11646 | 35 mkdir $fs/usr |
erjo@11646 | 36 |
pascal@11640 | 37 } |