From 9121b1b3daeceb514806e0f084905067dcb3b516 Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Sun, 19 Mar 2017 11:51:56 +0100 Subject: [PATCH] ap/ncbi-blast: Upgraded to ncbi-blast-2.6.0. --- ap/ncbi-blast/ncbi-blast-2.4.0+-src.tar.gz.sha1 | 1 - .../ncbi-blast-2.6.0+-src.tar.gz.sha256 | 1 + ap/ncbi-blast/ncbi-blast.SlackBuild | 16 ++++++---------- 3 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 ap/ncbi-blast/ncbi-blast-2.4.0+-src.tar.gz.sha1 create mode 100644 ap/ncbi-blast/ncbi-blast-2.6.0+-src.tar.gz.sha256 diff --git a/ap/ncbi-blast/ncbi-blast-2.4.0+-src.tar.gz.sha1 b/ap/ncbi-blast/ncbi-blast-2.4.0+-src.tar.gz.sha1 deleted file mode 100644 index 52a78239..00000000 --- a/ap/ncbi-blast/ncbi-blast-2.4.0+-src.tar.gz.sha1 +++ /dev/null @@ -1 +0,0 @@ -2e6f4c76225cb0efa48b573d1520e1a472e17574 ncbi-blast-2.4.0+-src.tar.gz diff --git a/ap/ncbi-blast/ncbi-blast-2.6.0+-src.tar.gz.sha256 b/ap/ncbi-blast/ncbi-blast-2.6.0+-src.tar.gz.sha256 new file mode 100644 index 00000000..e5618c7f --- /dev/null +++ b/ap/ncbi-blast/ncbi-blast-2.6.0+-src.tar.gz.sha256 @@ -0,0 +1 @@ +0510e1d607d0fb4389eca50d434d5a0be787423b6850b3a4f315abc2ef19c996 ncbi-blast-2.6.0+-src.tar.gz diff --git a/ap/ncbi-blast/ncbi-blast.SlackBuild b/ap/ncbi-blast/ncbi-blast.SlackBuild index 5afa6c57..50d997d1 100755 --- a/ap/ncbi-blast/ncbi-blast.SlackBuild +++ b/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