Author: hamish-guest
Date: 2009-09-01 11:59:12 +0000 (Tue, 01 Sep 2009)
New Revision: 2409

Modified:
   packages/mbsystem/trunk/debian/patches/install_makefiles.dpatch
   packages/mbsystem/trunk/debian/rules
Log:
install Levitus database; fix Projections.dat path


Modified: packages/mbsystem/trunk/debian/patches/install_makefiles.dpatch
===================================================================
--- packages/mbsystem/trunk/debian/patches/install_makefiles.dpatch     
2009-08-31 20:50:02 UTC (rev 2408)
+++ packages/mbsystem/trunk/debian/patches/install_makefiles.dpatch     
2009-09-01 11:59:12 UTC (rev 2409)
@@ -24,8 +24,10 @@
 +$NETCDFINCDIR = "/usr/include";
 +$GMTLIBDIR = "/usr/lib";
 +$GMTINCDIR = "/usr/include/gmt";
- $LEVITUS = "$MBSYSTEM_HOME/share/LevitusAnnual82.dat";
- $PROJECTIONS = "$MBSYSTEM_HOME/share/Projections.dat";
+-$LEVITUS = "$MBSYSTEM_HOME/share/LevitusAnnual82.dat";
+-$PROJECTIONS = "$MBSYSTEM_HOME/share/Projections.dat";
++$LEVITUS = "$MBSYSTEM_HOME/LevitusAnnual82.dat";
++$PROJECTIONS = "$MBSYSTEM_HOME/Projections.dat";
  #
  # Required paramters for graphical tools
  #   - graphical tools will not be built if these

Modified: packages/mbsystem/trunk/debian/rules
===================================================================
--- packages/mbsystem/trunk/debian/rules        2009-08-31 20:50:02 UTC (rev 
2408)
+++ packages/mbsystem/trunk/debian/rules        2009-09-01 11:59:12 UTC (rev 
2409)
@@ -35,3 +35,10 @@
 install --mode=644 share /usr/share/mbsystem
 install --mode=644 include /usr/lib/mbsystem/include
 
+# get Levitus annual water temperature profile database (binary blob)
+# needed for mblevitus program, uncompressed it is 16mb.
+#
+wget -nv ftp://ftp.ldeo.columbia.edu/pub/MB-System/annual.gz
+gzip -d annual.gz
+\mv annual LevitusAnnual82.dat
+install --mode=644 LevitusAnnual82.data /usr/share/mbsystem/


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to