--- libdata-structure-util-perl-0.15.orig/debian/rules +++ libdata-structure-util-perl-0.15/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +# Allow disabling build optimation by setting noopt in +# $DEB_BUILD_OPTIONS +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + + # Add commands to compile the package here + $(PERL) Makefile.PL installdirs=vendor + OPTIMIZE="$(CFLAGS)" make + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + # Add commands to clean up after the build process here + [ ! -f Makefile ] || make distclean + + dh_clean build-stamp install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + + make test + make install DESTDIR=$(TMP) + + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installexamples +# dh_installmenu +# dh_installcron +# dh_installman + dh_installchangelogs CHANGES + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_perl + dh_shlibdeps + 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 --- libdata-structure-util-perl-0.15.orig/debian/watch +++ libdata-structure-util-perl-0.15/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 + +http://www.cpan.org/modules/by-module/Data/Data-Structure-Util-(.*)\.tar\.gz --- libdata-structure-util-perl-0.15.orig/debian/changelog +++ libdata-structure-util-perl-0.15/debian/changelog @@ -0,0 +1,22 @@ +libdata-structure-util-perl (0.15-1) unstable; urgency=low + + * New upstream release. + * Fixes building with Perl 5.10. Closes: #467426 + * Update Standards-Version to 3.7.3 (no changes). + + -- Jonathan McDowell Thu, 27 Mar 2008 11:33:05 +0000 + +libdata-structure-util-perl (0.12-1) unstable; urgency=low + + * New upstream release. + * Add watch file. + * Bump Standards-Version to 3.7.2.0 (no changes). + + -- Jonathan McDowell Sun, 23 Jul 2006 10:55:15 +0100 + +libdata-structure-util-perl (0.11-1) unstable; urgency=low + + * Initial Release. Closes: #361098 + + -- Jonathan McDowell Tue, 11 Apr 2006 10:25:44 +0100 + --- libdata-structure-util-perl-0.15.orig/debian/compat +++ libdata-structure-util-perl-0.15/debian/compat @@ -0,0 +1 @@ +4 --- libdata-structure-util-perl-0.15.orig/debian/copyright +++ libdata-structure-util-perl-0.15/debian/copyright @@ -0,0 +1,21 @@ +This is the Debian package for the Data-Structure-Util module. +It was created by Jonathan McDowell using dh-make-perl. + +Author: Pierre Denis + +Copyright 2003, 2004 Fotango - All Rights Reserved. + +This module is released under the same license as Perl itself. + +This means: + +a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + +b) the "Artistic License" which comes with Perl. + +On a Debian system the complete text of the GNU General Public License +can be found in the file `/usr/share/common-licenses/GPL' and the +complete text of the the Artistic Licence can be found in the file +`/usr/share/common-licenses/Artistic'. --- libdata-structure-util-perl-0.15.orig/debian/control +++ libdata-structure-util-perl-0.15/debian/control @@ -0,0 +1,21 @@ +Source: libdata-structure-util-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 4.0.2), libmodule-build-perl, libclone-perl, libtest-pod-perl, libfile-find-rule-perl, perl (>= 5.8.0-7) +Maintainer: Jonathan McDowell +Standards-Version: 3.7.3.0 + +Package: libdata-structure-util-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, +Description: Change nature of data within a structure + Data::Structure::Util is a toolbox to manipulate the data inside a + data structure. It can process an entire tree and perform the + operation requested on each appropriate element. + . + For example: It can transform all strings within a data structure to + utf8 or transform any utf8 string back to the default encoding. It + can remove the blessing on any reference. It can collect all the + objects or detect if there is a circular reference. + . + It is written in C for decent speed.