academic/ncbi-blast+: Updated for version 2.8.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Petar Petrov 2019-01-24 07:48:59 +07:00 committed by Willy Sudiarto Raharjo
parent a940cfe58c
commit 188ad7b79c
2 changed files with 15 additions and 8 deletions

View file

@ -4,7 +4,7 @@
# This takes the place of ncbi-blast-plus (2013-2018), which just
# repackaged the binaries provided by upstream.
# Copyright 2013-2018 Petar Petrov slackalaxy@gmail.com
# Copyright 2013-2019 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@
PRGNAM=ncbi-blast+
DIRNAM=ncbi-blast
VERSION=${VERSION:-2.7.1}
VERSION=${VERSION:-2.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -81,24 +81,31 @@ cd c++
# --without-boost \ # do not use Boost
# The full list of options is available in c++/src/build-system/configure
# Do not specify the libraries dir by the default way (--libdir=/lib${LIBDIRSUFFIX}),
# because the libs will not be included in the package.
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--libdir='${exec_prefix}'/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-dll \
--with-mt \
--with-dll \
--without-debug \
--without-downloaded-vdb \
--without-bdb \
--build=$ARCH-slackware-linux
# It does not seem to matter whether to use 'make all' and 'make install-toolkit',
# but let's have them here as a future reminder that these options exist.
#make all
#make prefix=$PKG/usr install-toolkit
make
make prefix=$PKG/usr install
make prefix=$PKG/usr install
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

View file

@ -1,8 +1,8 @@
PRGNAM="ncbi-blast+"
VERSION="2.7.1"
VERSION="2.8.1"
HOMEPAGE="https://blast.ncbi.nlm.nih.gov/"
DOWNLOAD="ftp://ftp.ncbi.nih.gov/blast/executables/blast+/2.7.1/ncbi-blast-2.7.1+-src.tar.gz"
MD5SUM="48b37565cf5f3d17388daaf0f17b95bc"
DOWNLOAD="ftp://ftp.ncbi.nih.gov/blast/executables/blast+/2.8.1/ncbi-blast-2.8.1+-src.tar.gz"
MD5SUM="9398ccc096ea5f4c18911e5334bf6916"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lmdb"