From 953da6902a110a1383e67a6fcc1e772bb6f084f1 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 4 Nov 2013 23:43:12 +0700 Subject: libraries/netcdf: Updated for version 4.3.0. Signed-off-by: Willy Sudiarto Raharjo Signed-off-by: Robby Workman --- libraries/netcdf/netcdf.SlackBuild | 20 ++++++++++---------- libraries/netcdf/netcdf.info | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'libraries/netcdf') diff --git a/libraries/netcdf/netcdf.SlackBuild b/libraries/netcdf/netcdf.SlackBuild index 2d5ea408672a..c637054123e9 100644 --- a/libraries/netcdf/netcdf.SlackBuild +++ b/libraries/netcdf/netcdf.SlackBuild @@ -26,16 +26,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=netcdf -VERSION=4.1.1 +VERSION=${VERSION:-4.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -68,7 +66,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -80,7 +82,9 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --datarootdir=/usr \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-shared + --enable-shared \ + --disable-netcdf-4 \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG @@ -88,14 +92,10 @@ make install DESTDIR=$PKG 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 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* - +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION 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 cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG diff --git a/libraries/netcdf/netcdf.info b/libraries/netcdf/netcdf.info index a7949f0fb72b..ebfb3e153fa1 100644 --- a/libraries/netcdf/netcdf.info +++ b/libraries/netcdf/netcdf.info @@ -1,8 +1,8 @@ PRGNAM="netcdf" -VERSION="4.1.1" +VERSION="4.3.0" HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/" -DOWNLOAD="http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.1.1.tar.gz" -MD5SUM="79c5ff14c80d5e18dd8f1fceeae1c8e1" +DOWNLOAD="ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.3.0.tar.gz" +MD5SUM="39fc507bf2966980fa92defecd9d2167" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3