[med-svn] r15730 - trunk/packages/anfo/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Wed Jan 8 13:15:35 UTC 2014


Author: tille
Date: 2014-01-08 13:15:35 +0000 (Wed, 08 Jan 2014)
New Revision: 15730

Added:
   trunk/packages/anfo/trunk/debian/anfo.install
Modified:
   trunk/packages/anfo/trunk/debian/changelog
   trunk/packages/anfo/trunk/debian/control
   trunk/packages/anfo/trunk/debian/rules
Log:
Use d-shlibs to create proper library packages


Added: trunk/packages/anfo/trunk/debian/anfo.install
===================================================================
--- trunk/packages/anfo/trunk/debian/anfo.install	                        (rev 0)
+++ trunk/packages/anfo/trunk/debian/anfo.install	2014-01-08 13:15:35 UTC (rev 15730)
@@ -0,0 +1,3 @@
+usr/bin		usr
+usr/lib		usr
+usr/share	usr

Modified: trunk/packages/anfo/trunk/debian/changelog
===================================================================
--- trunk/packages/anfo/trunk/debian/changelog	2014-01-08 12:16:22 UTC (rev 15729)
+++ trunk/packages/anfo/trunk/debian/changelog	2014-01-08 13:15:35 UTC (rev 15730)
@@ -1,5 +1,6 @@
-anfo (0.98-1) UNRELEASED; urgency=medium
+anfo (0.98-2) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * fixed watch file
   * debian/control:
      - cme fix dpkg-control
@@ -8,7 +9,11 @@
      - canonical Vcs fields
   * debian/copyright: DEP5
   * use autoreconf (including necessary patches)
+  * Create additional library packages
 
+  [ Gert Wollny ]
+  * debian/patches/*: Patches to build with latest gcc
+
  -- Andreas Tille <tille at debian.org>  Wed, 01 Jan 2014 17:55:33 +0100
 
 anfo (0.98-1ubuntu4) lucid; urgency=low

Modified: trunk/packages/anfo/trunk/debian/control
===================================================================
--- trunk/packages/anfo/trunk/debian/control	2014-01-08 12:16:22 UTC (rev 15729)
+++ trunk/packages/anfo/trunk/debian/control	2014-01-08 13:15:35 UTC (rev 15730)
@@ -23,9 +23,7 @@
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libpopt,
-         libprotobuf5,
-         libelk0
+         libanfo0
 Description: Short Read Aligner/Mapper from MPG
  Anfo is a mapper in the spirit of Soap/Maq/Bowtie, but its implementation takes
  more after BLAST/BLAT. It's most useful for the alignment of sequencing reads
@@ -33,3 +31,41 @@
  treatment) and/or there is more divergence between sample and reference than
  what fast mappers will handle gracefully (say the reference genome is missing
  and a related species is used instead).
+
+Package: libanfo0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+#        libpopt,
+#        libprotobuf5,
+#        libelk0
+Description: Library for Short Read Aligner/Mapper from MPG
+ Anfo is a mapper in the spirit of Soap/Maq/Bowtie, but its implementation takes
+ more after BLAST/BLAT. It's most useful for the alignment of sequencing reads
+ where the DNA sequence is somehow modified (think ancient DNA or bisulphite
+ treatment) and/or there is more divergence between sample and reference than
+ what fast mappers will handle gracefully (say the reference genome is missing
+ and a related species is used instead).
+ .
+ This package contains the dynamic library for the anfo binaries.
+
+Package: libanfo0-dev
+Architecture: any
+Section: libdevel
+Depends: libanfo0 (= ${binary:Version}),
+         ${devlibs:Depends},
+         ${misc:Depends}
+Provides: libanfo-dev
+Conflicts: libanfo-dev
+Description: Development files for Short Read Aligner/Mapper from MPG
+ Anfo is a mapper in the spirit of Soap/Maq/Bowtie, but its implementation takes
+ more after BLAST/BLAT. It's most useful for the alignment of sequencing reads
+ where the DNA sequence is somehow modified (think ancient DNA or bisulphite
+ treatment) and/or there is more divergence between sample and reference than
+ what fast mappers will handle gracefully (say the reference genome is missing
+ and a related species is used instead).
+ .
+ This package contains the development files that might be used in connection
+ with the anfo binaries.
+

Modified: trunk/packages/anfo/trunk/debian/rules
===================================================================
--- trunk/packages/anfo/trunk/debian/rules	2014-01-08 12:16:22 UTC (rev 15729)
+++ trunk/packages/anfo/trunk/debian/rules	2014-01-08 13:15:35 UTC (rev 15730)
@@ -2,11 +2,21 @@
 # -*- makefile -*-
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+# export DH_VERBOSE=1
 
 %:
 	dh  $@ --with autoreconf
 
+override_dh_install:
+	rm `find debian/tmp -name '*.la'`
+	d-shlibmove --commit \
+		    --multiarch \
+		    --override s/libpopt0-dev/libpopt-dev/ \
+		    --override s/libprotobuf7-dev/libprotobuf-dev/ \
+		    --movedev debian/tmp/usr/include/* usr/include \
+		    debian/tmp/usr/lib/*/libanfo.so
+	dh_install
+
 # ./scm files should not be executable
 override_dh_fixperms :
 	dh_fixperms




More information about the debian-med-commit mailing list