wok-6.x diff gdal/receipt @ rev 14748

busybox: add musl & dietlibc patchs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 16 15:26:17 2013 +0200 (2013-06-16)
parents 2ac75a433b01
children f473b2ca85de
line diff
     1.1 --- a/gdal/receipt	Fri Feb 03 09:17:55 2012 +0100
     1.2 +++ b/gdal/receipt	Sun Jun 16 15:26:17 2013 +0200
     1.3 @@ -2,24 +2,34 @@
     1.4  
     1.5  PACKAGE="gdal"
     1.6  VERSION="1.9.0"
     1.7 -CATEGORY="misc"
     1.8 +CATEGORY="meta"
     1.9  SHORT_DESC="Geospatial Data Abstraction Library."
    1.10  MAINTAINER="erjo@slitaz.org"
    1.11  WEB_SITE="http://www.gdal.org/"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13  WGET_URL="http://download.osgeo.org/gdal/$TARBALL"
    1.14  
    1.15 -DEPENDS=""
    1.16 -BUILD_DEPENDS="geos-dev proj-dev curl-dev"
    1.17 +DEPENDS="libgdal gdal-bin gdal-datas"
    1.18 +BUILD_DEPENDS="python-dev postgresql-dev geos-dev proj-dev curl-dev \
    1.19 +swig "
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	./configure $CONFIGURE_ARGS && make && make install
    1.25 +	./configure --sysconfdir=/etc \
    1.26 +		--localstatedir=/var \
    1.27 +		--datadir=/usr/share/gdal \
    1.28 +		--with-threads \
    1.29 +		--with-perl \
    1.30 +		--with-python \
    1.31 +		--with-geos \
    1.32 +		--with-sqlite3=no \
    1.33 +		--with-ogr && make && make install BINDINGS="perl python"
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	cp -a $install/* $fs
    1.40 +	mkdir $fs/usr
    1.41 +	
    1.42  }