From: Aaron M. Ucko Date: Sun, 29 May 2011 14:51:56 +0000 (+0000) Subject: Override dh_auto_install in favor of explicitly installing files of interest X-Git-Tag: archive/raspbian/2.16.0+ds-7+rpi1~1^2~354 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f3cccee9ff6acbf689dd861ab709c49868f62040;p=ncbi-blast%2B.git Override dh_auto_install in favor of explicitly installing files of interest (executables and shared libraries); supply the requisite ncbi-blast+.dirs. --- diff --git a/debian/ncbi-blast+.dirs b/debian/ncbi-blast+.dirs new file mode 100644 index 00000000..32fdc473 --- /dev/null +++ b/debian/ncbi-blast+.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib/ncbi-blast+ diff --git a/debian/rules b/debian/rules index 8ed0b652..e5289d5f 100755 --- a/debian/rules +++ b/debian/rules @@ -18,6 +18,11 @@ override_dh_auto_configure: ( cd $(SOURCEDIR) ; ./configure ${DEB_CONFIGURE_EXTRA_FLAGS} --prefix=${SOURCEDIR}/debian/ncbi-blast+ ) +instroot = debian/ncbi-blast+/usr +override_dh_auto_install: + cp c++/BUILD/lib/*.so $(instroot)/lib/ncbi-blast+/ + cp c++/BUILD/bin/* $(instroot)/bin/ + override_dh_install: #TODO - can I just use -X.a -Xinclude instead of removing unneeded files later? dh_install