--- libdata-buffer-perl-0.04.orig/debian/compat +++ libdata-buffer-perl-0.04/debian/compat @@ -0,0 +1 @@ +5 --- libdata-buffer-perl-0.04.orig/debian/changelog +++ libdata-buffer-perl-0.04/debian/changelog @@ -0,0 +1,13 @@ +libdata-buffer-perl (0.04-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with Perl 5.10. Closes: #467746 + + -- Mark Hymers Sat, 05 Apr 2008 21:08:56 +0100 + +libdata-buffer-perl (0.04-1) unstable; urgency=low + + * Initial release Closes: #364066 + + -- Pierre-Matthieu Alamy Mon, 24 Apr 2006 13:30:42 +0000 + --- libdata-buffer-perl-0.04.orig/debian/watch +++ libdata-buffer-perl-0.04/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/Crypt/Data-Buffer-(.*)\.tar\.gz debian uscan --- libdata-buffer-perl-0.04.orig/debian/copyright +++ libdata-buffer-perl-0.04/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Pierre-Matthieu Alamy on +Mon, 24 Apr 2006 13:30:42 +0000. + +It was downloaded from CPAN, http://cpan.org/modules/by-module/Convert/ + +Upstream Author: Benjamin Trott + +Copyright 2001 Benjamin Trott. All rights reserved. + +License: +Data::Buffer is free software; you may redistribute it and/or modify +it under the same terms as Perl itself. + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. On Debian GNU/Linux systems, the complete text of the +GNU General Public License can be found in `/usr/share/common-licenses/GPL' +and the Artistic Licence in `/usr/share/common-licenses/Artistic'. --- libdata-buffer-perl-0.04.orig/debian/control +++ libdata-buffer-perl-0.04/debian/control @@ -0,0 +1,17 @@ +Source: libdata-buffer-perl +Section: perl +Priority: optional +Maintainer: Pierre-Matthieu Alamy +Uploaders: Florian Ragwitz +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>=5.8.8-4) +Standards-Version: 3.6.2 + +Package: libdata-buffer-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Read/write buffer class for perl + Data::Buffer implements a low-level binary buffer in which you can get + and put integers, strings, and other data. Internally the implementation + is based on pack and unpack, such that Data::Buffer is really a layer + on top of those built-in functions. --- libdata-buffer-perl-0.04.orig/debian/rules +++ libdata-buffer-perl-0.04/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f + +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="-Wall -O2 -g" + touch build-stamp + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + dh_clean + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary