diff options
author | Petar Petrov | 2019-01-24 01:48:59 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2019-01-24 01:48:59 +0100 |
commit | 188ad7b79c79a27c0dea728f9a30135a697cd780 (patch) | |
tree | 6a5f98271153bd2aef785ac834b5ef0a9d031d7a /academic/ncbi-blast+/ncbi-blast+.SlackBuild | |
parent | a940cfe58c20c37421a36596d2a96b14482191db (diff) | |
download | slackbuilds-188ad7b79c79a27c0dea728f9a30135a697cd780.tar.gz |
academic/ncbi-blast+: Updated for version 2.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/ncbi-blast+/ncbi-blast+.SlackBuild')
-rw-r--r-- | academic/ncbi-blast+/ncbi-blast+.SlackBuild | 17 |
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 |