summaryrefslogtreecommitdiff
path: root/academic/GMT/GMT.SlackBuild
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave at gmail {dot} com>2010-12-05 20:17:17 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-05 20:17:17 -0600
commit0b4341db2bff43d6b080bd31c4ebdd2ebe4ae4ba (patch)
tree584b949d0dc30d540be0c3116a76365cbdbfa63f /academic/GMT/GMT.SlackBuild
parenta948ec1863c7ad8bc14a999472c612f5c0885cc4 (diff)
downloadslackbuilds-0b4341db2bff43d6b080bd31c4ebdd2ebe4ae4ba.tar.gz
academic/GMT: Updated for version 4.5.5.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/GMT/GMT.SlackBuild')
-rw-r--r--academic/GMT/GMT.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/academic/GMT/GMT.SlackBuild b/academic/GMT/GMT.SlackBuild
index c0e42b958a..7da517660a 100644
--- a/academic/GMT/GMT.SlackBuild
+++ b/academic/GMT/GMT.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=GMT
-VERSION=4.5.3
+VERSION=4.5.5
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -53,7 +51,7 @@ COASTVER=2.1.0
# by default; should you need to change this behaviour, set SHEWCHUK to
# "no" below:
SHEWCHUK=${SHEWCHUK:-yes}
-if [ $SHEWCHUK == "yes" ]; then
+if [ $SHEWCHUK = "yes" ]; then
SHEWCHUK_STATUS="--enable-triangle"
else
SHEWCHUK_STATUS=""
@@ -102,7 +100,7 @@ rm -rf $PRGNAM-$VERSION
for SUFFIX in doc share src suppl; do
tar xvf $CWD/${PRGNAM}${VERSION}_${SUFFIX}.tar.bz2
done
-if [ $SHEWCHUK == "yes" ]; then
+if [ $SHEWCHUK = "yes" ]; then
tar xvf $CWD/${PRGNAM}${VERSION}_triangle.tar.bz2
fi
for RES in $COASTS; do
@@ -140,13 +138,11 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-if [ $SHEWCHUK == "yes" ]; then
+if [ $SHEWCHUK = "yes" ]; then
cp -a src/README.TRIANGLE $PKG/usr/doc/$PRGNAM-$VERSION
fi
cp -a ChangeLog LICENSE.TXT README README.TXT $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG
-
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} +
mkdir -p $PKG/install