mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/netcdf: Updated for version 4.1.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
cf4a4c9c1d
commit
27e45fd9b6
3 changed files with 13 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="netcdf"
|
||||
VERSION="4.0.1"
|
||||
VERSION="4.1.1"
|
||||
HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/"
|
||||
DOWNLOAD="http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.0.1.tar.gz"
|
||||
MD5SUM="a251453c5477599f050fa4e593295186"
|
||||
DOWNLOAD="http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.1.1.tar.gz"
|
||||
MD5SUM="79c5ff14c80d5e18dd8f1fceeae1c8e1"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Pierre Cazenave"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
netcdf: NetCDF (libraries for storing scientific data)
|
||||
netcdf:
|
||||
netcdf:
|
||||
netcdf: NetCDF (network Common Data Form) is a set of interfaces for array-
|
||||
netcdf: oriented data access and a freely-distributed collection of data
|
||||
netcdf: access libraries for C, Fortran, C++, Java, and other languages. The
|
||||
|
@ -15,5 +15,5 @@ netcdf: netCDF libraries support a machine-independent format for
|
|||
netcdf: representing scientific data. Together, the interfaces, libraries,
|
||||
netcdf: and format support the creation, access, and sharing of scientific
|
||||
netcdf: data.
|
||||
netcdf:
|
||||
netcdf:
|
||||
netcdf: http://www.unidata.ucar.edu/software/netcdf/
|
||||
|
|
Loading…
Reference in a new issue