Browse Source

ap/ncbi-blast: Upgraded to ncbi-blast-2.6.0.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
9121b1b3da
  1. 1
      ap/ncbi-blast/ncbi-blast-2.4.0+-src.tar.gz.sha1
  2. 1
      ap/ncbi-blast/ncbi-blast-2.6.0+-src.tar.gz.sha256
  3. 16
      ap/ncbi-blast/ncbi-blast.SlackBuild

1
ap/ncbi-blast/ncbi-blast-2.4.0+-src.tar.gz.sha1

@ -1 +0,0 @@
2e6f4c76225cb0efa48b573d1520e1a472e17574 ncbi-blast-2.4.0+-src.tar.gz

1
ap/ncbi-blast/ncbi-blast-2.6.0+-src.tar.gz.sha256

@ -0,0 +1 @@
0510e1d607d0fb4389eca50d434d5a0be787423b6850b3a4f315abc2ef19c996 ncbi-blast-2.6.0+-src.tar.gz

16
ap/ncbi-blast/ncbi-blast.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2013,2015 Damien Goutte-Gattat
# Copyright (C) 2013,2015,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,7 +27,7 @@
# Source package infos
NAMESRC=${NAMESRC:-ncbi-blast}
VERSION=${VERSION:-2.4.0}
VERSION=${VERSION:-2.6.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION+-src.tar.gz}
WGET=${WGET:-http://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/$VERSION/$ARCHIVE}
@ -78,7 +78,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -91,16 +91,12 @@ CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX $OPT64 \
--without-debug \
--with-dll \
--with-bin-release \
--with-mt \
--with-openmp \
--with-strip \
--without-vdb \
--without-boost
--without-boost \
--build=$ARCH-slackware-linux
make -j $JOBS
make install prefix=$PKG/usr libdir=$PKG/usr/lib$LIBDIRSUFFIX
make install prefix=$PKG/usr libdir=$PKG/usr/lib$LIBDIRSUFFIX || /bin/true
# Strip shared libraries
strip --strip-unneeded $PKG/usr/lib$LIBDIRSUFFIX/*.so

Loading…
Cancel
Save