From 66ba3ae92eeb4cd6196abd58d69c6512ebca74b2 Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 27 Feb 2010 17:04:58 +0100 Subject: gdal-grass déplacé dans test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/gdal-grass/.md5sum | 2 -- extra/gdal-grass/Pkgfile | 21 --------------------- extra/gdal-grass/gdal-grass-destdir.patch | 25 ------------------------- test/gdal-grass/.md5sum | 2 ++ test/gdal-grass/Pkgfile | 21 +++++++++++++++++++++ test/gdal-grass/gdal-grass-destdir.patch | 25 +++++++++++++++++++++++++ 6 files changed, 48 insertions(+), 48 deletions(-) delete mode 100644 extra/gdal-grass/.md5sum delete mode 100644 extra/gdal-grass/Pkgfile delete mode 100644 extra/gdal-grass/gdal-grass-destdir.patch create mode 100644 test/gdal-grass/.md5sum create mode 100644 test/gdal-grass/Pkgfile create mode 100644 test/gdal-grass/gdal-grass-destdir.patch diff --git a/extra/gdal-grass/.md5sum b/extra/gdal-grass/.md5sum deleted file mode 100644 index 257d35f93..000000000 --- a/extra/gdal-grass/.md5sum +++ /dev/null @@ -1,2 +0,0 @@ -2bfb7640e03b4d9d012f1a5d62c0351d gdal-grass-1.4.3.tar.gz -78f74b862040e47f2c94279692d5cba6 gdal-grass-destdir.patch diff --git a/extra/gdal-grass/Pkgfile b/extra/gdal-grass/Pkgfile deleted file mode 100644 index b5a29cdd5..000000000 --- a/extra/gdal-grass/Pkgfile +++ /dev/null @@ -1,21 +0,0 @@ -# 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 -} diff --git a/extra/gdal-grass/gdal-grass-destdir.patch b/extra/gdal-grass/gdal-grass-destdir.patch deleted file mode 100644 index 0b4ac05a6..000000000 --- a/extra/gdal-grass/gdal-grass-destdir.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- Makefile~ 2008-05-28 16:39:20.000000000 +0200 -+++ Makefile 2008-05-28 16:38:27.000000000 +0200 -@@ -23,16 +23,12 @@ - default: $(GLIBNAME) $(OLIBNAME) - - install: default -- install -d $(AUTOLOAD_DIR) -- cp $(GLIBNAME) $(AUTOLOAD_DIR) -- cp $(OLIBNAME) $(AUTOLOAD_DIR) -- test -d ${GRASSTABLES_DIR} || mkdir ${GRASSTABLES_DIR} -- test -d ${GRASSTABLES_DIR}/etc || mkdir ${GRASSTABLES_DIR}/etc -- cp /opt/grass/etc/ellipse.table ${GRASSTABLES_DIR}/etc -- cp /opt/grass/etc/datum.table /opt/grass/etc/datumtransform.table ${GRASSTABLES_DIR}/etc -- test -d ${GRASSTABLES_DIR}/driver || mkdir ${GRASSTABLES_DIR}/driver -- test -d ${GRASSTABLES_DIR}/driver/db || mkdir ${GRASSTABLES_DIR}/driver/db -- cp -r /opt/grass/driver/db/* ${GRASSTABLES_DIR}/driver/db/ -+ install -d $(DESTDIR)/$(AUTOLOAD_DIR) -+ cp $(GLIBNAME) $(DESTDIR)/$(AUTOLOAD_DIR) -+ cp $(OLIBNAME) $(DESTDIR)/$(AUTOLOAD_DIR) -+ cp /opt/grass/etc/ellipse.table $(DESTDIR)/${GRASSTABLES_DIR}/etc -+ cp /opt/grass/etc/datum.table $(DESTDIR)/${GRASSTABLES_DIR}/etc -+ cp /opt/grass/driver/db/* $(DESTDIR)/${GRASSTABLES_DIR}/driver/db/ - - clean: - rm -f $(OLIBNAME) $(GLIBNAME) *.o diff --git a/test/gdal-grass/.md5sum b/test/gdal-grass/.md5sum new file mode 100644 index 000000000..257d35f93 --- /dev/null +++ b/test/gdal-grass/.md5sum @@ -0,0 +1,2 @@ +2bfb7640e03b4d9d012f1a5d62c0351d gdal-grass-1.4.3.tar.gz +78f74b862040e47f2c94279692d5cba6 gdal-grass-destdir.patch diff --git a/test/gdal-grass/Pkgfile b/test/gdal-grass/Pkgfile new file mode 100644 index 000000000..b5a29cdd5 --- /dev/null +++ b/test/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 +} diff --git a/test/gdal-grass/gdal-grass-destdir.patch b/test/gdal-grass/gdal-grass-destdir.patch new file mode 100644 index 000000000..0b4ac05a6 --- /dev/null +++ b/test/gdal-grass/gdal-grass-destdir.patch @@ -0,0 +1,25 @@ +--- Makefile~ 2008-05-28 16:39:20.000000000 +0200 ++++ Makefile 2008-05-28 16:38:27.000000000 +0200 +@@ -23,16 +23,12 @@ + default: $(GLIBNAME) $(OLIBNAME) + + install: default +- install -d $(AUTOLOAD_DIR) +- cp $(GLIBNAME) $(AUTOLOAD_DIR) +- cp $(OLIBNAME) $(AUTOLOAD_DIR) +- test -d ${GRASSTABLES_DIR} || mkdir ${GRASSTABLES_DIR} +- test -d ${GRASSTABLES_DIR}/etc || mkdir ${GRASSTABLES_DIR}/etc +- cp /opt/grass/etc/ellipse.table ${GRASSTABLES_DIR}/etc +- cp /opt/grass/etc/datum.table /opt/grass/etc/datumtransform.table ${GRASSTABLES_DIR}/etc +- test -d ${GRASSTABLES_DIR}/driver || mkdir ${GRASSTABLES_DIR}/driver +- test -d ${GRASSTABLES_DIR}/driver/db || mkdir ${GRASSTABLES_DIR}/driver/db +- cp -r /opt/grass/driver/db/* ${GRASSTABLES_DIR}/driver/db/ ++ install -d $(DESTDIR)/$(AUTOLOAD_DIR) ++ cp $(GLIBNAME) $(DESTDIR)/$(AUTOLOAD_DIR) ++ cp $(OLIBNAME) $(DESTDIR)/$(AUTOLOAD_DIR) ++ cp /opt/grass/etc/ellipse.table $(DESTDIR)/${GRASSTABLES_DIR}/etc ++ cp /opt/grass/etc/datum.table $(DESTDIR)/${GRASSTABLES_DIR}/etc ++ cp /opt/grass/driver/db/* $(DESTDIR)/${GRASSTABLES_DIR}/driver/db/ + + clean: + rm -f $(OLIBNAME) $(GLIBNAME) *.o -- cgit v1.2.3-70-g09d2