summaryrefslogtreecommitdiff
path: root/libraries/netcdf/netcdf.SlackBuild
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave at gmail {dot} com>2010-09-09 08:55:41 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-09-09 08:55:41 -0400
commit27e45fd9b6affeb4032de7b3108a19bbadf9fe9a (patch)
tree70113a527e5baea5ea3cc70b5abeff7a2705272c /libraries/netcdf/netcdf.SlackBuild
parentcf4a4c9c1de9be2ae662c46ba2f9eb73add680d4 (diff)
downloadslackbuilds-27e45fd9b6affeb4032de7b3108a19bbadf9fe9a.tar.gz
libraries/netcdf: Updated for version 4.1.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/netcdf/netcdf.SlackBuild')
-rw-r--r--libraries/netcdf/netcdf.SlackBuild20
1 files changed, 8 insertions, 12 deletions
diff --git a/libraries/netcdf/netcdf.SlackBuild b/libraries/netcdf/netcdf.SlackBuild
index 7b222d7c7a..2d5ea40867 100644
--- a/libraries/netcdf/netcdf.SlackBuild
+++ b/libraries/netcdf/netcdf.SlackBuild
@@ -1,7 +1,9 @@
#!/bin/sh
# SlackBuild script for netcdf.
+#
# Updated for Slackware64 28/05/2009
+# Updated 06/09/2010 - thanks to Francesco Allertsen for the nudge.
#
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
@@ -24,8 +26,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=netcdf
-VERSION=4.0.1
-BUILD=${BUILD:-2}
+VERSION=4.1.1
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -87,18 +89,12 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Compress man pages
-( cd $PKG/usr/man || exit 1
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do
- ln -s $( readlink $i ).gz $i.gz
- rm $i
- done
-)
+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
# sort out the info files
-( rm -f $PKG/usr/info/dir
- gzip -9 $PKG/usr/info/*.info*
-)
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
cp -a COPYRIGHT INSTALL README RELEASE_NOTES VERSION examples $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild