[mbsystem] 03/39: install Levitus database; fix Projections.dat path
Andreas Tille
tille at debian.org
Thu Aug 20 08:40:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository mbsystem.
commit ea5ecdd92ce310fe11e7401e5bd34f55883e401e
Author: M. Hamish Bowman <hamish_b at yahoo.com>
Date: Tue Sep 1 11:59:12 2009 +0000
install Levitus database; fix Projections.dat path
---
debian/patches/install_makefiles.dpatch | 6 ++++--
debian/rules | 7 +++++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/debian/patches/install_makefiles.dpatch b/debian/patches/install_makefiles.dpatch
index 57b4532..33d8958 100644
--- a/debian/patches/install_makefiles.dpatch
+++ b/debian/patches/install_makefiles.dpatch
@@ -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
diff --git a/debian/rules b/debian/rules
index 679bae2..acc7dfd 100644
--- a/debian/rules
+++ b/debian/rules
@@ -35,3 +35,10 @@ install --mode=644 ps /usr/share/doc/mbsystem/ps
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/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mbsystem.git
More information about the Pkg-grass-devel
mailing list