summaryrefslogtreecommitdiff
path: root/academic/GMT/GMT.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-14 20:28:50 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-14 21:37:03 +0200
commit760e87b8f6f0d7f7bc1d2e6f36b40535f83b1f9b (patch)
tree27092737d84a9906fbd55192fc27abcf61c54d9c /academic/GMT/GMT.SlackBuild
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/GMT/GMT.SlackBuild')
-rw-r--r--academic/GMT/GMT.SlackBuild6
1 files changed, 2 insertions, 4 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 {} +