aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2019-01-24 07:48:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-01-24 07:48:59 +0700
commit188ad7b79c79a27c0dea728f9a30135a697cd780 (patch)
tree6a5f98271153bd2aef785ac834b5ef0a9d031d7a
parenta940cfe58c20c37421a36596d2a96b14482191db (diff)
academic/ncbi-blast+: Updated for version 2.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/ncbi-blast+/ncbi-blast+.SlackBuild17
-rw-r--r--academic/ncbi-blast+/ncbi-blast+.info6
2 files changed, 15 insertions, 8 deletions
diff --git a/academic/ncbi-blast+/ncbi-blast+.SlackBuild b/academic/ncbi-blast+/ncbi-blast+.SlackBuild
index 1e6757bc0d62a..131a68c48dcc1 100644
--- a/academic/ncbi-blast+/ncbi-blast+.SlackBuild
+++ b/academic/ncbi-blast+/ncbi-blast+.SlackBuild
@@ -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
diff --git a/academic/ncbi-blast+/ncbi-blast+.info b/academic/ncbi-blast+/ncbi-blast+.info
index 78639eac62d40..938fe0b4f1e13 100644
--- a/academic/ncbi-blast+/ncbi-blast+.info
+++ b/academic/ncbi-blast+/ncbi-blast+.info
@@ -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"