summaryrefslogtreecommitdiffstats
path: root/academic
diff options
context:
space:
mode:
author Matteo Bernardini2012-09-14 20:28:50 +0200
committer Matteo Bernardini2012-09-14 21:37:03 +0200
commit760e87b8f6f0d7f7bc1d2e6f36b40535f83b1f9b (patch)
tree27092737d84a9906fbd55192fc27abcf61c54d9c /academic
parent2901800a8008cf00264cfc09f8bdb938a7d0b7d3 (diff)
downloadslackbuilds-760e87b8f6f0d7f7bc1d2e6f36b40535f83b1f9b.tar.gz
academic/GMT: Updated for version 4.5.8
Added the optional dependency gdal. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/GMT/GMT.SlackBuild6
-rw-r--r--academic/GMT/GMT.info8
-rw-r--r--academic/GMT/README11
3 files changed, 13 insertions, 12 deletions
diff --git a/academic/GMT/GMT.SlackBuild b/academic/GMT/GMT.SlackBuild
index 26c37ff8cb..4653d28fc2 100644
--- a/academic/GMT/GMT.SlackBuild
+++ b/academic/GMT/GMT.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=GMT
-VERSION=4.5.7
+VERSION=4.5.8
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -93,6 +93,7 @@ cd ${PRGNAM}${VERSION}
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+LDFLAGS="-L/usr/lib$LIBDIRSUFFIX -L/lib$LIBDIRSUFFIX" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -121,9 +122,6 @@ 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
- 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
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} +
diff --git a/academic/GMT/GMT.info b/academic/GMT/GMT.info
index 6462979e77..cad9939ccc 100644
--- a/academic/GMT/GMT.info
+++ b/academic/GMT/GMT.info
@@ -1,10 +1,10 @@
PRGNAM="GMT"
-VERSION="4.5.7"
+VERSION="4.5.8"
HOMEPAGE="http://gmt.soest.hawaii.edu/"
-DOWNLOAD="ftp://ftp.soest.hawaii.edu/gmt/gmt-4.5.7.tar.bz2 \
+DOWNLOAD="ftp://ftp.soest.hawaii.edu/gmt/gmt-4.5.8.tar.bz2 \
ftp://ftp.soest.hawaii.edu/gmt/gshhs-2.2.0.tar.bz2"
-MD5SUM="fc8a4a546ff8572c225aa7bdb56bbdf8 \
- db98bff37adc0d51fdf0ffa3834d45ad"
+MD5SUM="8a3fa928bcb8a82ebaed68d62ba8f1ba \
+ db98bff37adc0d51fdf0ffa3834d45ad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="netcdf"
diff --git a/academic/GMT/README b/academic/GMT/README
index 1020b50769..51684d1ca4 100644
--- a/academic/GMT/README
+++ b/academic/GMT/README
@@ -12,7 +12,10 @@ Public License.
Please note, Shewchuk's triangulation routine used in some parts of GMT is
not distributed under the GNU Public Licence. If you work for a for-profit
-organisation, you should read Shewchuk's copyright statement first (in
-src/README.TRIANGLE). This script enables the (much faster) Shewchuk
-triangulation routine by default; should you need to change this behaviour,
-set SHEWCHUK to "no" in the build script.
+organisation, you should read Shewchuk's copyright statement first (you
+can find it at http://gmt.soest.hawaii.edu/gmt/README.TRIANGLE).
+This script enables the (much faster) Shewchuk triangulation routine by
+by default; should you need to change this behaviour, set SHEWCHUK to "no"
+in the build script.
+
+gdal is an optional dependency.