aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bruy <alexander.bruy@gmail.com>2015-03-16 00:09:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-16 00:09:22 +0700
commit6f2e715c345f105dad2ecff5c245ef1f52cccbd1 (patch)
treee55967453310c5c93085969fe9e7d459cecb052e
parent080ea62570a079482d342f7c8a9a36e17d7230d5 (diff)
academic/TauDEM: Updated for version 5.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/TauDEM/README3
-rw-r--r--academic/TauDEM/TauDEM.SlackBuild25
-rw-r--r--academic/TauDEM/TauDEM.info8
-rw-r--r--academic/TauDEM/slack-desc2
4 files changed, 18 insertions, 20 deletions
diff --git a/academic/TauDEM/README b/academic/TauDEM/README
index 2eb6722f78de0..a8a4ed99987f5 100644
--- a/academic/TauDEM/README
+++ b/academic/TauDEM/README
@@ -15,3 +15,6 @@ following capability:
and association between watershed and segment attributes for setting up
hydrologic models
* Specialized functions for terrain analysis
+
+Note TauDEM also works fine with MPICH, so if you have it installed it is not
+necessary to install OpenMPI.
diff --git a/academic/TauDEM/TauDEM.SlackBuild b/academic/TauDEM/TauDEM.SlackBuild
index 995df9a5af299..fd7637f8a96ac 100644
--- a/academic/TauDEM/TauDEM.SlackBuild
+++ b/academic/TauDEM/TauDEM.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for TauDEM
-# Copyright 2012 Alexander Bruy <alexander.bruy@gmail.com>
+# Copyright 2012-2015 Alexander Bruy <alexander.bruy@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=TauDEM
-VERSION=${VERSION:-5.0.6}
+PACKAGENAME=TauDEM-5MF.0.0
+VERSION=${VERSION:-5.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ZIPNAME=TauDEM5PCsrc_506
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -61,19 +60,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf src
-unzip $CWD/$ZIPNAME.zip
-cd src
+rm -rf $PACKAGENAME
+tar xvf $CWD/$PACKAGENAME.tar.gz || tar xvf $CWD/5MF.0.0.tar.gz
+cd $PACKAGENAME/src
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# fixes for building under Linux
-sed -i -e '41 a #include <stdint.h>' ./linearpart.h
-sed -i -e 's/#include "stdint.h"/#include <stdint.h>/' tiffIO.h
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
diff --git a/academic/TauDEM/TauDEM.info b/academic/TauDEM/TauDEM.info
index bd97fd83a598b..13517010cb01f 100644
--- a/academic/TauDEM/TauDEM.info
+++ b/academic/TauDEM/TauDEM.info
@@ -1,8 +1,8 @@
PRGNAM="TauDEM"
-VERSION="5.0.6"
-HOMEPAGE="http://hydrology.usu.edu/taudem/taudem5/"
-DOWNLOAD="http://hydrology.usu.edu/taudem/taudem5/TauDEM5PCsrc_506.zip"
-MD5SUM="76848267b3acd1c4667b7c7d7112ade6"
+VERSION="5.2.0"
+HOMEPAGE="http://hydrology.usu.edu/taudem/taudem5/index.html"
+DOWNLOAD="https://github.com/dtarb/TauDEM/archive/5MF.0.0.tar.gz"
+MD5SUM="a2147f6bf880251892aa4ae54886c30d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openmpi"
diff --git a/academic/TauDEM/slack-desc b/academic/TauDEM/slack-desc
index 87ad5183e5581..4f8eb522277c3 100644
--- a/academic/TauDEM/slack-desc
+++ b/academic/TauDEM/slack-desc
@@ -12,7 +12,7 @@ TauDEM: TauDEM is a suite of Digital Elevation Model (DEM) tools for the
TauDEM: extraction and analysis of hydrologic information from topography as
TauDEM: represented by a DEM
TauDEM:
-TauDEM: Project homepage: http://hydrology.usu.edu/taudem/taudem5/
+TauDEM: Project homepage: http://hydrology.usu.edu/taudem/taudem5/index.html
TauDEM:
TauDEM:
TauDEM: