From 9c2f9f5f17584f1688bb500cdcf87a214fd8e9f2 Mon Sep 17 00:00:00 2001 From: sibel sibel Date: Sat, 30 Jan 2010 09:18:31 +0100 Subject: Ajout de gdal-grass#1.4.3-1 --- extra/gdal-grass/Pkgfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 extra/gdal-grass/Pkgfile (limited to 'extra/gdal-grass/Pkgfile') diff --git a/extra/gdal-grass/Pkgfile b/extra/gdal-grass/Pkgfile new file mode 100644 index 000000000..b5a29cdd5 --- /dev/null +++ b/extra/gdal-grass/Pkgfile @@ -0,0 +1,21 @@ +# Description: Standalone drivers for GRASS raster and vector files +# URL: http://www.gdal.org/dl/ +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: gdal, grass + +name=gdal-grass +version=1.4.3 +release=1 +source=(http://download.osgeo.org/gdal/$name-$version.tar.gz \ + gdal-grass-destdir.patch) + +build() { + cd $name-$version + ./configure --prefix=/usr --with-gdal=/usr/bin/gdal-config --with-grass=/usr/bin/grass + patch -Np 0 -i $SRC/gdal-grass-destdir.patch + make + install -d $PKG/usr/share/gdal/grass/etc + install -d $PKG/usr/share/gdal/grass/driver/db + make DESTDIR=$PKG install +} -- cgit v1.2.3-70-g09d2