Author: tille
Date: 2013-11-07 12:24:02 +0000 (Thu, 07 Nov 2013)
New Revision: 15131

Modified:
   trunk/packages/libgenome/trunk/debian/changelog
   trunk/packages/libgenome/trunk/debian/control
   trunk/packages/libgenome/trunk/debian/rules
Log:
cdbs -> dh


Modified: trunk/packages/libgenome/trunk/debian/changelog
===================================================================
--- trunk/packages/libgenome/trunk/debian/changelog     2013-11-07 10:26:49 UTC 
(rev 15130)
+++ trunk/packages/libgenome/trunk/debian/changelog     2013-11-07 12:24:02 UTC 
(rev 15131)
@@ -4,6 +4,9 @@
      - cme fix dpkg-control
      - canonical Vcs fields
      - debhelper 9
+     - add gfortran to Build-Depends
+     - drop cdbs from Build-Depends
+  * debian/rules: switch from cdbs to dh
 
  -- Andreas Tille <[email protected]>  Thu, 07 Nov 2013 11:28:05 +0100
 

Modified: trunk/packages/libgenome/trunk/debian/control
===================================================================
--- trunk/packages/libgenome/trunk/debian/control       2013-11-07 10:26:49 UTC 
(rev 15130)
+++ trunk/packages/libgenome/trunk/debian/control       2013-11-07 12:24:02 UTC 
(rev 15131)
@@ -1,13 +1,13 @@
 Source: libgenome
 Maintainer: Debian Med Packaging Team 
<[email protected]>
 Uploaders: Andreas Tille <[email protected]>
-Section: libs
+Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
                autotools-dev,
                d-shlibs,
-               cdbs,
-               doxygen
+               doxygen,
+               gfortran
 Standards-Version: 3.9.4
 Vcs-Browser: 
http://anonscm.debian.org/viewvc/debian-med/trunk/packages/libgenome/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/libgenome/trunk/
@@ -20,6 +20,7 @@
          ${misc:Depends},
          ${devlibs:Depends}
 Provides: libgenome-1.3-dev
+Conflicts: libgenome-1.3-dev
 Description: toolkit for developing bioinformatic related software
  libGenome is a freely available toolkit for developing bioinformatic related
  software in C++.  It is intended to take the hassle out of performing common

Modified: trunk/packages/libgenome/trunk/debian/rules
===================================================================
--- trunk/packages/libgenome/trunk/debian/rules 2013-11-07 10:26:49 UTC (rev 
15130)
+++ trunk/packages/libgenome/trunk/debian/rules 2013-11-07 12:24:02 UTC (rev 
15131)
@@ -1,35 +1,30 @@
 #!/usr/bin/make -f
 
-# include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-
-pkg=libgenome
+pkg:= $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 name=libGenome
-version=1.3
+version:= $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
 # series=1.0.3
 
-common-binary-post-install-arch::
+%:
+       dh $@
+
+override_dh_install:
+       dh_install
        # Call d-shlibmove to comply with library packaging guide
-       d-devlibdeps debian/$(pkg)1-dev.substvars \
-                    debian/tmp/usr/lib/$(name)-$(version).so
-       # /bin/sh debian/debug/
        mv debian/tmp/usr/include/*/* debian/tmp/usr/include/
-       # cp -a doc/html/* debian/tmp/usr/share/doc/html
        d-shlibmove --override s/libstdc\+\+6-dev// \
                    --commit \
                    --movedev "debian/tmp/usr/include/$(name)" 
usr/include/$(name)-$(version) \
-                   --movedev "$(name)-$(version).pc" usr/share/pkgconfig \
-                   debian/tmp/usr/lib/$(name)-$(version).so
-
-#                  --movedevdoc "debian/tmp/usr/share/doc/html/*" \
+                   --movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" 
usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
+                   debian/tmp/usr/lib/*/*.so
        # Remove unneeded *.la files according to
        # http://lists.debian.org/debian-devel/2009/08/msg00783.html
        # Release goal: Getting rid of unneeded *.la / emptying dependency_libs
        find debian -name "*.la" -exec rm -f \{\} \;
 
+override_dh_auto_test:
+       echo 'Disable test since some header (gnDNXSource.h) seems to be 
missing.'
+
 get-orig-source:
        . debian/get-orig-source
 
-clean::
-       rm -f debian/$(pkg)1-dev.substvars


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to