summaryrefslogtreecommitdiff
path: root/libraries/netcdf/netcdf.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2014-04-14 07:37:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-14 07:37:38 +0700
commitb163efa985a0685d220edd0ec14422559ea899eb (patch)
tree5ad9d587c3dfe31715a6eb9f9cc96b2c48dbceb8 /libraries/netcdf/netcdf.SlackBuild
parente182f46165c8092ce614ac967ab6d62683746ec4 (diff)
downloadslackbuilds-b163efa985a0685d220edd0ec14422559ea899eb.tar.gz
libraries/netcdf: Updated for version 4.3.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/netcdf/netcdf.SlackBuild')
-rw-r--r--libraries/netcdf/netcdf.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/libraries/netcdf/netcdf.SlackBuild b/libraries/netcdf/netcdf.SlackBuild
index 3b8330b0c3..ab8c49700b 100644
--- a/libraries/netcdf/netcdf.SlackBuild
+++ b/libraries/netcdf/netcdf.SlackBuild
@@ -25,7 +25,7 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=netcdf
-VERSION=${VERSION:-4.3.1}
+VERSION=${VERSION:-4.3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--datarootdir=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-shared \
+ --enable-static=no \
--disable-netcdf-4 \
--build=$ARCH-slackware-linux
@@ -95,10 +95,8 @@ 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
-cp -a \
- COMPILE.cmake.txt COPYRIGHT INSTALL README RELEASE_NOTES.md VERSION \
- examples/ \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COMPILE.cmake.txt COPYRIGHT INSTALL README RELEASE_NOTES.md VERSION \
+ examples/ $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