summaryrefslogtreecommitdiffstats
path: root/academic/ncbi-blast+/ncbi-blast+.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/ncbi-blast+/ncbi-blast+.SlackBuild')
-rw-r--r--academic/ncbi-blast+/ncbi-blast+.SlackBuild17
1 files changed, 12 insertions, 5 deletions
diff --git a/academic/ncbi-blast+/ncbi-blast+.SlackBuild b/academic/ncbi-blast+/ncbi-blast+.SlackBuild
index 1e6757bc0d..131a68c48d 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