academic/GMT: Updated for version 4.5.8

Added the optional dependency gdal.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-14 20:28:50 +02:00
parent 2901800a80
commit 760e87b8f6
3 changed files with 13 additions and 12 deletions

View File

@ -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 {} +

View File

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

View File

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