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.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