--- libarchive-ar-perl-1.13b.orig/debian/compat +++ libarchive-ar-perl-1.13b/debian/compat @@ -0,0 +1 @@ +4 --- libarchive-ar-perl-1.13b.orig/debian/changelog +++ libarchive-ar-perl-1.13b/debian/changelog @@ -0,0 +1,6 @@ +libarchive-ar-perl (1.13b-1) unstable; urgency=low + + * Initial Release (Closes: #320253). + + -- Florian Ragwitz Mon, 31 Oct 2005 21:01:34 +0100 + --- libarchive-ar-perl-1.13b.orig/debian/copyright +++ libarchive-ar-perl-1.13b/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Florian Ragwitz on +Mon, 31 Oct 2005 21:04:09 +0100. + +It was downloaded from http://search.cpan.org/~jaybonci/Archive-Ar/ + +Copyright Holder: Copyright 2003 Jay Bonci + +This program is free software, you can 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'. --- libarchive-ar-perl-1.13b.orig/debian/rules +++ libarchive-ar-perl-1.13b/debian/rules @@ -0,0 +1,56 @@ +#!/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 + [ ! -f Makefile ] || $(MAKE) realclean + 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) PREFIX=/usr + 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 --- libarchive-ar-perl-1.13b.orig/debian/control +++ libarchive-ar-perl-1.13b/debian/control @@ -0,0 +1,23 @@ +Source: libarchive-ar-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 4.0.2) +Build-Depends-Indep: perl (>= 5.8.0-7), libtest-mockobject-perl +Maintainer: Florian Ragwitz +Standards-Version: 3.6.2 + +Package: libarchive-ar-perl +Architecture: all +Depends: ${perl:Depends} +Description: perl interface for manipulating ar archives + Archive::Ar is a pure-perl way to handle standard ar archives. + . + This is useful if you have those types of old archives on the system, but it + is also useful because .deb packages for the Debian GNU/Linux distribution are + ar archives. This is one building block in a future chain of modules to build, + manipulate, extract, and test debian modules with no platform or architecture + dependence. + . + You may notice that the API to Archive::Ar is similar to Archive::Tar, and + this was done intentionally to keep similarity between the Archive::* + modules.