summaryrefslogtreecommitdiff
path: root/libraries/netcdf/netcdf.SlackBuild
diff options
context:
space:
mode:
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