mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/netcdf: Updated for version 4.4.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
a54850ed6f
commit
b29af5ecff
2 changed files with 13 additions and 8 deletions
|
@ -25,7 +25,8 @@
|
|||
# Maintained by David Spencer <baildon.research@googlemail.com>
|
||||
|
||||
PRGNAM=netcdf
|
||||
VERSION=${VERSION:-4.3.3.1}
|
||||
SRCNAM=netcdf-c
|
||||
VERSION=${VERSION:-4.4.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -61,9 +62,13 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
if [ -f $CWD/v$VERSION.tar.gz ]; then
|
||||
tar xvf $CWD/v$VERSION.tar.gz
|
||||
else
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||
fi
|
||||
cd $SRCNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -95,7 +100,7 @@ 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.md RELEASE_NOTES.md VERSION \
|
||||
cp -a COMPILE.cmake.txt COPYRIGHT INSTALL.md README.md 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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="netcdf"
|
||||
VERSION="4.3.3.1"
|
||||
VERSION="4.4.0"
|
||||
HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/"
|
||||
DOWNLOAD="ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.3.3.1.tar.gz"
|
||||
MD5SUM="5c9dad3705a3408d27f696e5b31fb88c"
|
||||
DOWNLOAD="https://github.com/Unidata/netcdf-c/archive/v4.4.0.tar.gz"
|
||||
MD5SUM="4e3d3b05ab53d0ae6036a1a0fe1506e5"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue