Override dh_auto_install in favor of explicitly installing files of interest
authorAaron M. Ucko <ucko@debian.org>
Sun, 29 May 2011 14:51:56 +0000 (14:51 +0000)
committerAaron M. Ucko <ucko@debian.org>
Sun, 29 May 2011 14:51:56 +0000 (14:51 +0000)
(executables and shared libraries); supply the requisite ncbi-blast+.dirs.

debian/ncbi-blast+.dirs [new file with mode: 0644]
debian/rules

diff --git a/debian/ncbi-blast+.dirs b/debian/ncbi-blast+.dirs
new file mode 100644 (file)
index 0000000..32fdc47
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib/ncbi-blast+
index 8ed0b65231516039d51fad8e515efcc95ecad5a2..e5289d5f8192348e610ac01245d404917de0062d 100755 (executable)
@@ -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