academic/TauDEM: Updated for version 5.2.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Alexander Bruy 2015-03-16 00:09:22 +07:00 committed by Willy Sudiarto Raharjo
parent 080ea62570
commit 6f2e715c34
4 changed files with 18 additions and 20 deletions

View File

@ -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.

View File

@ -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

View File

@ -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"

View File

@ -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: