mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/GMT: Updated for version 4.5.5.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
a948ec1863
commit
0b4341db2b
3 changed files with 16 additions and 21 deletions
|
@ -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
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
PRGNAM="GMT"
|
||||
VERSION="4.5.3"
|
||||
VERSION="4.5.5"
|
||||
HOMEPAGE="http://gmt.soest.hawaii.edu/"
|
||||
DOWNLOAD="ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.3_doc.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.3_share.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.3_src.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.3_suppl.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.3_triangle.tar.bz2 \
|
||||
DOWNLOAD="ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.5_doc.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.5_share.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.5_src.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.5_suppl.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GMT4.5.5_triangle.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GSHHS2.1.0_coast.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GSHHS2.1.0_full.tar.bz2 \
|
||||
ftp://ftp.soest.hawaii.edu/gmt/GSHHS2.1.0_high.tar.bz2"
|
||||
MD5SUM="a2f0243bbbea4c6e1472a1d92a2c6d7c \
|
||||
378ea1b0e46b09455722df81c4c191ab \
|
||||
ad069cfcc8216fdef69e0cb94536c2a6 \
|
||||
7d4bcb2ac56ee558cae8446363a74e64 \
|
||||
5bccc9d473fc2a659cb21d3aafd8b228 \
|
||||
MD5SUM="0a99b8f820689d872b18cf689efad9b9 \
|
||||
55b9142fb8ad3e17a49542f42b36d923 \
|
||||
051554f98bff57365eebab2d227e3285 \
|
||||
38e01e420876bfe3cafe60b207c91de6 \
|
||||
36a4788e72aa3dc557a256bca14f79a0 \
|
||||
1f84a99effe96e12fb60f31fa3cf35bb \
|
||||
da679a412056e401bb624a213d4b11d6 \
|
||||
51128a3c545fd48364a2da830ebce1b6"
|
||||
|
@ -21,4 +21,4 @@ DOWNLOAD_x86_64=""
|
|||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Pierre Cazenave"
|
||||
EMAIL="pwcazenave <at> gmail {dot} com"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -30,4 +30,3 @@ 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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue