academic/cdo: Fix README, slack-desc, script.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e0e49c8a3e
commit
01c55541c2
|
@ -3,5 +3,5 @@ CDO (Climate Data Operators)
|
|||
CDO is a collection of command line Operators to manipulate and analyse
|
||||
Climate and NWP model Data.
|
||||
|
||||
Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG. There
|
||||
are more than 600 operators available.
|
||||
Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and
|
||||
IEG. There are more than 600 operators available.
|
||||
|
|
|
@ -27,12 +27,10 @@ VERSION=${VERSION:-1.9.8}
|
|||
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=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
@ -56,7 +54,7 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e # Exit on most errors
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
|
@ -96,7 +94,6 @@ make install DESTDIR=$PKG
|
|||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
# Copy program documentation into the package
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS COPYING ChangeLog INSTALL NEWS OPERATORS README \
|
||||
|
@ -104,7 +101,6 @@ cp -a \
|
|||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
cdo: CDO (Climate Data Operators)
|
||||
cdo: cdo (Climate Data Operators)
|
||||
cdo:
|
||||
cdo: CDO is a collection of command line Operators to manipulate and
|
||||
cdo: analyse Climate and NWP model Data.
|
||||
|
|
Loading…
Reference in New Issue