academic/GMT: Updated for version 4.5.2.

This commit is contained in:
Pierre Cazenave 2010-04-09 00:39:24 -05:00 committed by Robby Workman
parent ce1299fd2c
commit b0cf53300c
4 changed files with 42 additions and 62 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
# SlackBuild for the Generic Mapping Tools (GMT).
#
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=GMT
VERSION=4.5.1
VERSION=4.5.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -34,7 +34,7 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
COASTNAME=GSHHS
COASTVER=2.0.1
COASTVER=2.0.2
# 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

View file

@ -1,24 +1,24 @@
PRGNAM="GMT"
VERSION="4.5.1"
VERSION="4.5.2"
HOMEPAGE="http://gmt.soest.hawaii.edu/"
DOWNLOAD="ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.1_doc.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.1_share.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.1_src.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.1_suppl.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.1_triangle.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GSHHS2.0.1_coast.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GSHHS2.0.1_full.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GSHHS2.0.1_high.tar.bz2"
MD5SUM="124b2206be03e0d4d8c2bed582a30187
1380a82348b9fdd0c32474787a90a95f
a0e7b410e8470d6c47bd56830fd1158f
c771a72a7eed44678134ae0b51edd606
d71fc58ee47240afd2a3494341eb5ad8
75a1e1e04b473699eee3a31c89b8dbfa
dbffea06d9ccf2899a9788dfac99c387
0e1855e73bb079ab1879dd24895e99e9"
DOWNLOAD="ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.2_doc.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.2_share.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.2_src.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.2_suppl.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.2_triangle.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GSHHS2.0.2_coast.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GSHHS2.0.2_full.tar.bz2
ftp://ftp.soest.hawaii.edu/gmt/GSHHS2.0.2_high.tar.bz2"
MD5SUM="ee97a570d6d18459ed5eb8eb1c4bcfe0
101ec440d66fe9cee4689272cf29d1ec
1cecd3588a117e19f82a3fbf46ed094d
f61a1109a7a6119524e70efb6047b614
c346c207e5d2c80bfaf8a957a9756cb0
5edeabc967ea6c25b4d56c309c1e0676
d15b8727b38741ca2a7d777ff72a42d0
f3602576cdad97f513b5baf3ec476f51"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Pierre Cazenave"
EMAIL="pwcazenave <at> gmail {dot} com"
APPROVED="dsomero"
APPROVED="rworkman"

View file

@ -10,44 +10,24 @@ H. F. Smith with help from a global set of volunteers, and is supported
by the National Science Foundation. It is released under the GNU General
Public License.
GMT requires netcdf, available at SlackBuilds.org.
This requires netcdf.
In order to build GMT, there are a number of required archives:
There are a number of different resolution coastline files available for
GMT, and their size on disk varies from <2MB (low) to 61.7MB (full).
They come in 3 separate archives:
GSHHS2.0.2_coast.tar.bz2 GSHHS2.0.2_high.tar.bz2 GSHHS2.0.2_full.tar.bz2
GMT4.5.1_doc.tar.bz2
GMT4.5.1_share.tar.bz2
GMT4.5.1_src.tar.bz2
GMT4.5.1_suppl.tar.bz2
GMT4.5.1_triangle.tar.bz2 (if you require Shewchuk's triangulation
routine (see below)).
The first contains the low, intermediate and coarse resolutions, the second
the high resolution, and the third the full resolution. I prefer to have all
of them installed (disk space is cheap), but you may not. Therefore, all
three sets will be installed by default unless you choose otherwise in the
script, e.g. setting "COASTS=coast" in the environment would install only the
low, intermediate, and coarse resolutions.
These must all be downloaded and placed in the same directory as the
SlackBuild script (as with any source).
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.
There are a number of different resolution coastline files available
for GMT, and their size on disk varies from <2MB (low) to 61.7MB
(full). They come in 3 separate archives:
GSHHS2.0.1_coast.tar.bz2
GSHHS2.0.1_high.tar.bz2
GSHHS2.0.1_full.tar.bz2
The first contains the low, intermediate and coarse resolutions,
the second the high resolution, and the third the full resolution. I
prefer to have all of them installed (disk space is cheap), but you
may not. Therefore, by default, all three sets will be installed,
unless you choose otherwise in the script. e.g. ${COASTS:-"coast"}
would install only the low, intermediate and coarse resolutions. A
minimum of GSHHS2.0.1_coast.tar.bz2 is required.
To download all the files, the following works:
wget \
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.1_{doc,share,src,suppl,triangle}.tar.bz2 \
ftp://ftp.soest.hawaii.edu/gmt/GSHHS2.0.1_{full,coast,high}.tar.bz2
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
(in $TMP/$PRGNAM-$VERSION/src/README.TRIANGLE) first. 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.

View file

@ -6,7 +6,7 @@
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
GMT: GMT (suite of geographic processing and mapping tools).
GMT: GMT (suite of geographic processing and mapping tools)
GMT:
GMT: GMT is an open source collection of ~60 tools for manipulating
GMT: geographic and Cartesian data sets and producing illustrations. GMT
@ -14,6 +14,6 @@ GMT: supports ~30 map projections and transformations and comes with
GMT: support data such as GSHHS coastlines, rivers, and political
GMT: boundaries. GMT is developed and maintained by Paul Wessel and Walter
GMT: H. F. Smith with help from a global set of volunteers, and is
GMT: supported by the National Science Foundation. It is released under
GMT: the GNU General Public License.
GMT: http://gmt.soest.hawaii.edu/
GMT: supported by the National Science Foundation.
GMT:
GMT: