The C implementation has retired.
* debian/patches/fix_lib_deps: Patch Makefile.blast_macros.mk to add blast
to BLAST_LIBS to clear up link errors that could otherwise occur.
* debian/control: B-D on libgnutls28-dev to enable HTTPS support.
+ * Fully take blast2 over from ncbi-tools6, whose implementation has retired.
- -- Aaron M. Ucko <ucko@debian.org> Mon, 05 Dec 2016 23:10:10 -0500
+ -- Aaron M. Ucko <ucko@debian.org> Mon, 05 Dec 2016 23:11:55 -0500
ncbi-blast+ (2.5.0-1) unstable; urgency=medium
Multi-Arch: foreign
Depends: ncbi-blast+,
${misc:Depends}
+Breaks: blast2 (<< 1:2.5.0~)
+Replaces: blast2 (<< 1:2.5.0~)
Description: NCBI Blast legacy call script
This package adds some fake scripts to call NCBI+ programs
with the NCBI blast command line. It makes use of the
legacy_blast script in ncbi-blast+ package.
- .
- To use those scripts, /usr/share/ncbi-blast+/bin must be added
- to the PATH.
+
+Package: blast2
+Architecture: all
+Multi-Arch: foreign
+Section: oldlibs
+Priority: extra
+Depends: ncbi-blast+-legacy,
+ ${misc:Depends}
+Description: transitional dummy package to ncbi-blast+-legacy
+ This is a transitional dummy package for ncbi-blast+-legacy.
+ It can safely be removed.
-/usr/share/ncbi-blast+/bin
+/usr/bin
+++ /dev/null
-usr/share/ncbi-blast+/bin/legacy.sh usr/share/ncbi-blast+/bin/blastall
-usr/share/ncbi-blast+/bin/legacy.sh usr/share/ncbi-blast+/bin/megablast
-usr/share/ncbi-blast+/bin/legacy.sh usr/share/ncbi-blast+/bin/blastpgp
-usr/share/ncbi-blast+/bin/legacy.sh usr/share/ncbi-blast+/bin/bl2seq
-usr/share/ncbi-blast+/bin/legacy.sh usr/share/ncbi-blast+/bin/rpsblast
-usr/share/ncbi-blast+/bin/legacy.sh usr/share/ncbi-blast+/bin/fastacmd
-usr/share/ncbi-blast+/bin/legacy.sh usr/share/ncbi-blast+/bin/formatdb
-usr/share/ncbi-blast+/bin/legacy.sh usr/share/ncbi-blast+/bin/seedtop
DEB_CONFIGURE_EXTRA_FLAGS += CFLAGS_FOR_BUILD="$(CFLAGS) -fPIE"
DEB_CONFIGURE_EXTRA_FLAGS += LDFLAGS_FOR_BUILD="$(LDFLAGS)"
+BLAST2_VERSION=1:$(shell dpkg-parsechangelog | awk '/^Version:/ { print $$2 }')
+
llp=LD_LIBRARY_PATH
override_dh_auto_configure:
cd c++ && $(llp)=$(CURDIR)/c++/BUILD/lib$${$(llp)+:$$$(llp)} \
-cat c++/BUILD/build/check.sh.out_err
instroot = debian/ncbi-blast+/usr
-leg_bin = debian/ncbi-blast+-legacy/usr/share/ncbi-blast+/bin
+leg_bin = debian/ncbi-blast+-legacy/usr/bin
override_dh_auto_install-arch:
# cp c++/BUILD/lib/*.so $(instroot)/lib/ncbi-blast+/
cp c++/BUILD/bin/* $(instroot)/bin/
xargs cp -v -t $(instroot)/lib/ncbi-blast+
override_dh_install-indep:
- if test -d $(leg_bin); then cp debian/legacy/legacy.sh $(leg_bin)/; fi
+ #if test -d $(leg_bin); then cp debian/legacy/legacy.sh $(leg_bin)/; fi
+ for x in blastall megablast blastpgp bl2seq rpsblast fastacmd formatdb \
+ seedtop; do \
+ sed -e "s/.{.*}/$$x/" debian/legacy/legacy.sh > $(leg_bin)/$$x; \
+ chmod +x $(leg_bin)/$$x; \
+ done
override_dh_clean:
cp c++/configure.orig configure.orig.save
rm -rf c++/BUILD
mv configure.orig.save c++/configure.orig
+override_dh_gencontrol-indep:
+ dh_gencontrol -pblast2 -- -v$(BLAST2_VERSION)
+ dh_gencontrol -Nblast2
+
%:
dh $@ -Dc++ --with autotools_dev