From e7ddae166cdaef877209a13542da67636122424f Mon Sep 17 00:00:00 2001 From: Ian Beckwith Date: Wed, 18 Apr 2007 23:09:36 +0100 Subject: [PATCH] initial dh-make-perl --- debian/changelog | 6 +++++ debian/compat | 1 + debian/control | 16 +++++++++++ debian/copyright | 8 ++++++ debian/rules | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 112 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..49073c6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +liburi-template-perl (0.04-1) unstable; urgency=low + + * Initial Release. + + -- Ian Beckwith Thu, 19 Apr 2007 00:08:23 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..66e0cc2 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: liburi-template-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0), libmodule-build-perl +Build-Depends-Indep: perl (>= 5.8.8-7) +Maintainer: Ian Beckwith +Standards-Version: 3.7.2 + +Package: liburi-template-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, +Description: FIXME + This is an initial attempt to provide a wrapper around URI templates + as described at http://www.ietf.org/internet-drafts/draft-gregorio-uritemplate-00.txt + . + This description was automagically extracted from the module by dh-make-perl. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4054933 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,8 @@ +This is the debian package for the URI-Template module. +It was created by Ian Beckwith using dh-make-perl. + +This copyright info was automatically extracted from the perl module. +It may not be accurate, so you better check the module sources +if don't want to get into legal troubles. + +The upstream author is: Brian Cassidy . diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..53b93f5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,81 @@ +#!/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. +# +# It was later modified by Jason Kohles +# http://www.jasonkohles.com/ to support Module::Build installed modules + +# 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) + +build: build-stamp +build-stamp: + dh_testdir + + # Add commands to compile the package here + $(PERL) Build.PL installdirs=vendor + OPTIMIZE="-Wall -O2 -g" $(PERL) Build + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + # Add commands to clean up after the build process here + [ ! -f Build ] || $(PERL) Build distclean + + dh_clean build-stamp install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + + # Add commands to install the package into debian/$PACKAGE_NAME here + $(PERL) Build test + $(PERL) Build install destdir=$(TMP) + + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot +# dh_installcron +# dh_installmenu +# dh_installexamples + dh_installdocs + dh_installchangelogs + dh_perl + dh_link + dh_strip + 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 -- 2.11.0