initial dh-make-perl
authorIan Beckwith <ianb@nessie.mcc.ac.uk>
Wed, 18 Apr 2007 22:09:36 +0000 (23:09 +0100)
committerIan Beckwith <ianb@nessie.mcc.ac.uk>
Wed, 18 Apr 2007 22:09:36 +0000 (23:09 +0100)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..49073c6
--- /dev/null
@@ -0,0 +1,6 @@
+liburi-template-perl (0.04-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Ian Beckwith <ianb@nessie.mcc.ac.uk>  Thu, 19 Apr 2007 00:08:23 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..66e0cc2
--- /dev/null
@@ -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 <ianb@nessie.mcc.ac.uk>
+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 (file)
index 0000000..4054933
--- /dev/null
@@ -0,0 +1,8 @@
+This is the debian package for the URI-Template module.
+It was created by Ian Beckwith <ianb@nessie.mcc.ac.uk> 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 <brian.cassidy@nald.ca>.
diff --git a/debian/rules b/debian/rules
new file mode 100644 (file)
index 0000000..53b93f5
--- /dev/null
@@ -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 <marc@dch-faq.de> 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 <email@jasonkohles.com>
+# 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