diff options
Diffstat (limited to 'academic/cdo')
-rw-r--r-- | academic/cdo/README | 4 | ||||
-rw-r--r-- | academic/cdo/cdo.SlackBuild | 6 | ||||
-rw-r--r-- | academic/cdo/slack-desc | 2 |
3 files changed, 4 insertions, 8 deletions
diff --git a/academic/cdo/README b/academic/cdo/README index a808053d3827..e767d4ea3119 100644 --- a/academic/cdo/README +++ b/academic/cdo/README @@ -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. diff --git a/academic/cdo/cdo.SlackBuild b/academic/cdo/cdo.SlackBuild index cf0cfa0a0472..c9c3f9b4d708 100644 --- a/academic/cdo/cdo.SlackBuild +++ b/academic/cdo/cdo.SlackBuild @@ -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 diff --git a/academic/cdo/slack-desc b/academic/cdo/slack-desc index a46e900e0164..49f7b868c9e1 100644 --- a/academic/cdo/slack-desc +++ b/academic/cdo/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. |