academic/samtools:Upgrade to 1.20

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
brobr 2024-04-29 23:03:11 +01:00 committed by Willy Sudiarto Raharjo
parent fb25db28bf
commit 384c360ffe
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 10 deletions

View file

@ -25,14 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=samtools
VERSION=${VERSION:-1.19.2}
HTSLIBV=${HTSLIBV:-1.19.1}
VERSION=${VERSION:-1.20}
HTSLIBV=${HTSLIBV:-1.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
# Some applications still rely on the legacy samtools API instead of using htslib
# exclusively, in that case, install the headers in /usr/include/bam and the static
# Some applications still rely on the legacy samtools API instead of using htslib
# exclusively, in that case, install the headers in /usr/include/bam and the static
# libbam library as well by declaring (uncommenting):
#SAMLIB="yes"
# and commenting out:
@ -122,9 +122,7 @@ 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS LICENSE README NEWS.md examples \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE README NEWS.md examples $PKG/usr/doc/$PRGNAM-$VERSION
cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="samtools"
VERSION="1.19.2"
VERSION="1.20"
HOMEPAGE="http://www.htslib.org"
DOWNLOAD="https://github.com/samtools/samtools/releases/download/1.19.2/samtools-1.19.2.tar.bz2"
MD5SUM="318492d95f5d8cef697442d1be996b77"
DOWNLOAD="https://github.com/samtools/samtools/releases/download/1.20/samtools-1.20.tar.bz2"
MD5SUM="e33f429b57324a55e5cbe0ef9f3a094e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="htslib"