mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
academic/nco: Updated for version 5.1.7.
Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b6136177d5
commit
37a5f9dfdb
4 changed files with 22 additions and 4 deletions
7
academic/nco/doinst.sh
Normal file
7
academic/nco/doinst.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
if [ -x /usr/bin/install-info ]; then
|
||||
/usr/bin/install-info --info-dir=usr/info usr/info/nco.info.gz 1> /dev/null 2>&1
|
||||
/usr/bin/install-info --info-dir=usr/info usr/info/nco.info-1.gz 1> /dev/null 2>&1
|
||||
/usr/bin/install-info --info-dir=usr/info usr/info/nco.info-1.gz 1> /dev/null 2>&1
|
||||
/usr/bin/install-info --info-dir=usr/info usr/info/nco.info-3.gz 1> /dev/null 2>&1
|
||||
/usr/bin/install-info --info-dir=usr/info usr/info/nco.info-4.gz 1> /dev/null 2>&1
|
||||
fi
|
9
academic/nco/douninst.sh
Normal file
9
academic/nco/douninst.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
if [ -x /usr/bin/install-info -a -d usr/info ]; then
|
||||
(
|
||||
cd usr/info
|
||||
rm -f dir
|
||||
for i in *.info*; do
|
||||
/usr/bin/install-info $i dir 1>/dev/null 2>&1
|
||||
done
|
||||
)
|
||||
fi
|
|
@ -26,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=nco
|
||||
VERSION=${VERSION:-5.1.6}
|
||||
VERSION=${VERSION:-5.1.7}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -115,6 +115,8 @@ rm -f $PKG/usr/lib*/*.la
|
|||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
cat $CWD/douninst.sh > $PKG/install/douninst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="nco"
|
||||
VERSION="5.1.6"
|
||||
VERSION="5.1.7"
|
||||
HOMEPAGE="http://nco.sf.net"
|
||||
DOWNLOAD="https://github.com/nco/nco/archive/5.1.6/nco-5.1.6.tar.gz"
|
||||
MD5SUM="e0630c77538db61c09b578331cf5c20e"
|
||||
DOWNLOAD="https://github.com/nco/nco/archive/5.1.7/nco-5.1.7.tar.gz"
|
||||
MD5SUM="0fe8447f974cbf1a25872c1fd40597a6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="netcdf udunits antlr2"
|
||||
|
|
Loading…
Reference in a new issue