summaryrefslogtreecommitdiffstats
path: root/extra/gdal-grass/gdal-grass-destdir.patch
diff options
context:
space:
mode:
authorsibel sibel <lesibel@free.fr>2010-01-30 09:18:31 +0100
committersibel sibel <lesibel@free.fr>2010-01-30 09:18:31 +0100
commit9c2f9f5f17584f1688bb500cdcf87a214fd8e9f2 (patch)
tree92cc4520ea23944151216a6c41de8bc54f95d85d /extra/gdal-grass/gdal-grass-destdir.patch
parent081306177b449783ea3458a20779375acbb856a3 (diff)
downloadnutyx-extra-9c2f9f5f17584f1688bb500cdcf87a214fd8e9f2.tar.gz
nutyx-extra-9c2f9f5f17584f1688bb500cdcf87a214fd8e9f2.tar.bz2
nutyx-extra-9c2f9f5f17584f1688bb500cdcf87a214fd8e9f2.tar.xz
nutyx-extra-9c2f9f5f17584f1688bb500cdcf87a214fd8e9f2.zip
Ajout de gdal-grass#1.4.3-1
Diffstat (limited to 'extra/gdal-grass/gdal-grass-destdir.patch')
-rw-r--r--extra/gdal-grass/gdal-grass-destdir.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/gdal-grass/gdal-grass-destdir.patch b/extra/gdal-grass/gdal-grass-destdir.patch
new file mode 100644
index 000000000..0b4ac05a6
--- /dev/null
+++ b/extra/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