Author: plessy
Date: 2011-05-09 22:45:27 +0000 (Mon, 09 May 2011)
New Revision: 6800

Modified:
   trunk/packages/bioperl/trunk/debian/changelog
   trunk/packages/bioperl/trunk/debian/compat
   trunk/packages/bioperl/trunk/debian/control
   trunk/packages/bioperl/trunk/debian/rules
Log:
Build using dh and overrides.


Modified: trunk/packages/bioperl/trunk/debian/changelog
===================================================================
--- trunk/packages/bioperl/trunk/debian/changelog       2011-05-09 22:07:48 UTC 
(rev 6799)
+++ trunk/packages/bioperl/trunk/debian/changelog       2011-05-09 22:45:27 UTC 
(rev 6800)
@@ -2,6 +2,9 @@
 
   * New upstream release.
   * Point debian/watch to search.cpan.org.
+  * Build using dh and overrides:
+    - Use Debhelper 8 (debian/rules, debian/control).
+    - Simplified debian/rules.
 
  -- Charles Plessy <[email protected]>  Mon, 09 May 2011 23:07:30 +0900
 

Modified: trunk/packages/bioperl/trunk/debian/compat
===================================================================
--- trunk/packages/bioperl/trunk/debian/compat  2011-05-09 22:07:48 UTC (rev 
6799)
+++ trunk/packages/bioperl/trunk/debian/compat  2011-05-09 22:45:27 UTC (rev 
6800)
@@ -1 +1 @@
-7
+8

Modified: trunk/packages/bioperl/trunk/debian/control
===================================================================
--- trunk/packages/bioperl/trunk/debian/control 2011-05-09 22:07:48 UTC (rev 
6799)
+++ trunk/packages/bioperl/trunk/debian/control 2011-05-09 22:45:27 UTC (rev 
6800)
@@ -5,7 +5,7 @@
 DM-Upload-Allowed: yes
 Uploaders: Charles Plessy <[email protected]>,
  Steffen Moeller <[email protected]>,
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl, perl-modules (>= 5.10.1),
  libio-string-perl,
  libdata-stag-perl,

Modified: trunk/packages/bioperl/trunk/debian/rules
===================================================================
--- trunk/packages/bioperl/trunk/debian/rules   2011-05-09 22:07:48 UTC (rev 
6799)
+++ trunk/packages/bioperl/trunk/debian/rules   2011-05-09 22:45:27 UTC (rev 
6800)
@@ -4,59 +4,24 @@
 NETWORK = --network
 endif
 
-build: build-stamp
-build-stamp:
-       dh_testdir
-       perl Build.PL $(NETWORK) < /dev/null # non-interactive, uses defaults
-       ./Build
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-       ./Build test
-endif
-       touch build-stamp
+%:
+       dh $@
 
-clean:
-       dh_testdir
-       dh_testroot
-       [ ! -f Build ] || ./Build realclean
+override_dh_auto_configure:
+       dh_auto_configure -- $(NETWORK)
+
+override_dh_clean:
        dh_clean build-stamp install-stamp bioperl.conf biodatabases.pod \
        biodesign.pod bioperl.pod bioscripts.pod
 
-install: install-stamp
-install-stamp: build
-       dh_testdir
-       dh_testroot
-       dh_prep
-       ./Build install                                      \
-               --install_base  /usr                         \
-               --install_path  lib=/usr/share/perl5         \
-               --install_path  bindoc=/usr/share/man/man1   \
-               --install_path  libdoc=/usr/share/man/man3   \
-               --destdir       $(CURDIR)/debian/bioperl
-       find debian/bioperl -type f -name .packlist | xargs rm
-       find $(CURDIR)/debian/bioperl -type d -empty -delete
+override_dh_install:
+       dh_install
        # prename is the rename utility written in perl usually available as 
/usr/bin/rename in Debian.
        prename s/.pl$$// debian/bioperl/usr/bin/*pl
        prename s/.pl.1p$$/.1p/ debian/bioperl/usr/share/man/man1/*1p
-       touch install-stamp
 
-binary-indep: build install
-       dh_testdir
-       dh_testroot
+override_dh_installchangelogs:
        dh_installchangelogs Changes 
-       dh_installdocs
-       dh_installexamples examples/*
-       dh_install
-       dh_installman
-       dh_strip
-       dh_compress
-       dh_fixperms
-       dh_perl
-       dh_installdeb
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
 
-binary-arch:
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+override_dh_installexamples:
+       dh_installexamples examples/*


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

Reply via email to