wok-undigest rev 627

gdal, gdal-dev: improve receipt
author Eric Joseph-Alexandre < erjo@slitaz.org>
date Thu Feb 02 20:29:03 2012 +0100 (2012-02-02)
parents b3e8698b04be
children cd62e0f1f15a
files gdal-dev/receipt gdal/receipt
line diff
     1.1 --- a/gdal-dev/receipt	Thu Feb 02 20:28:31 2012 +0100
     1.2 +++ b/gdal-dev/receipt	Thu Feb 02 20:29:03 2012 +0100
     1.3 @@ -16,7 +16,7 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr $fs/usr/lib
     1.8 +	mkdir -p $fs/usr/bin $fs/usr/lib
     1.9  	 
    1.10  	cp -a $install/usr/include $fs/usr
    1.11  	cp -a $install/usr/lib/*.*a $fs/usr/lib
     2.1 --- a/gdal/receipt	Thu Feb 02 20:28:31 2012 +0100
     2.2 +++ b/gdal/receipt	Thu Feb 02 20:29:03 2012 +0100
     2.3 @@ -10,7 +10,8 @@
     2.4  WGET_URL="http://download.osgeo.org/gdal/$TARBALL"
     2.5  
     2.6  DEPENDS="libgdal gdal-bin gdal-datas"
     2.7 -BUILD_DEPENDS="postgresql-dev geos-dev proj-dev curl-dev"
     2.8 +BUILD_DEPENDS="python-dev postgresql-dev geos-dev proj-dev curl-dev \
     2.9 +swig "
    2.10  
    2.11  # Rules to configure and make the package.
    2.12  compile_rules()
    2.13 @@ -20,9 +21,10 @@
    2.14  		--datadir=/usr/share/gdal \
    2.15  		--with-threads \
    2.16  		--with-perl \
    2.17 +		--with-python \
    2.18  		--with-geos \
    2.19  		--with-sqlite3=no \
    2.20 -		--with-ogr && make && make install
    2.21 +		--with-ogr && make && make install BINDINGS="perl python"
    2.22  }
    2.23  
    2.24  # Rules to gen a SliTaz package suitable for Tazpkg.