--- libarray-refelem-perl-1.00.orig/debian/rules +++ libarray-refelem-perl-1.00/debian/rules @@ -0,0 +1,83 @@ +#!/usr/bin/make -f + +# 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 + + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + -$(MAKE) realclean + + dh_clean build-stamp install-stamp + +install: install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture dependent package, we are not supposed to install + # stuff to /usr/share/perl5. MakeMaker creates the dirs, we delete them from + # the deb: + [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 + + 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_installchangelogs Changes + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libarray-refelem-perl-1.00.orig/debian/copyright +++ libarray-refelem-perl-1.00/debian/copyright @@ -0,0 +1,16 @@ +This is the debian package for the Array::RefElem module. +It was created by Matthias Urlichs . + +The upstream author is Gisle Aas . + +The README file states: + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + +As of this writing, Perl is available under either the Artistic or GPL +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 License in '/usr/share/common-licenses/Artistic'. + --- libarray-refelem-perl-1.00.orig/debian/compat +++ libarray-refelem-perl-1.00/debian/compat @@ -0,0 +1 @@ +4 --- libarray-refelem-perl-1.00.orig/debian/control +++ libarray-refelem-perl-1.00/debian/control @@ -0,0 +1,13 @@ +Source: libarray-refelem-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.0-7) +Maintainer: Matthias Urlichs +Standards-Version: 3.6.2 + +Package: libarray-refelem-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends} +Description: Set up array elements as aliases + This module gives you direct access to the internal perl routines that + let you store reference to things in arrays and hashes. --- libarray-refelem-perl-1.00.orig/debian/changelog +++ libarray-refelem-perl-1.00/debian/changelog @@ -0,0 +1,32 @@ +libarray-refelem-perl (1.00-1.1build3) devel; urgency=low + + * Rebuild for Perl 5.18. + + -- Colin Watson Sun, 20 Oct 2013 22:51:57 +0100 + +libarray-refelem-perl (1.00-1.1build2) precise; urgency=low + + * Rebuild for Perl 5.14. + + -- Colin Watson Tue, 15 Nov 2011 17:08:40 +0000 + +libarray-refelem-perl (1.00-1.1build1) oneiric; urgency=low + + * Rebuild for Perl 5.12. + + -- Colin Watson Sat, 07 May 2011 23:18:31 +0100 + +libarray-refelem-perl (1.00-1.1) unstable; urgency=low + + * Non-maintainer upload for the Perl 5.10 transition. + * Don't try to remove /usr/share/perl5 if it doesn't exist. (Closes: #463556) + + -- Niko Tyni Thu, 03 Apr 2008 11:53:16 +0300 + +libarray-refelem-perl (1.00-1) unstable; urgency=low + + * Initial release. + - Closes: #361279 (ITP) + + -- Matthias Urlichs Tue, 29 Jun 2004 09:57:09 +0200 +