[libdata-dumpxml-perl] 01/05: Initial packaging
Christoph Biedl
debian.axhn at manchmal.in-ulm.de
Sat Dec 17 01:44:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
cbiedl-guest pushed a commit to branch master
in repository libdata-dumpxml-perl.
commit 3d5579f077b5bae1adb31834ed553537b739b379
Author: Matthias Urlichs <smurf at debian.org>
Date: Tue Jun 29 09:57:09 2004 +0200
Initial packaging
---
debian/compat | 1 +
debian/control | 17 ++++++++++++
debian/copyright | 16 +++++++++++
debian/rules | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 117 insertions(+)
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ed075b2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: libdata-dumpxml-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.0-7), libarray-refelem-perl, libxml-parser-perl
+Maintainer: Matthias Urlichs <smurf at debian.org>
+Standards-Version: 3.6.2
+
+Package: libdata-dumpxml-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, libarray-refelem-perl, libxml-parser-perl
+Description: Dump arbitrary perl data structures as XML and restore them
+ This module provides a single function called dump_xml() that takes a
+ list of Perl values as its argument and produces a string as its result.
+ .
+ The string returned is an XML document that represents any Perl data
+ structures passed to the function. Reference loops are handled
+ correctly.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4cc84ba
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+This is the debian package for the Data::DumpXML module.
+It was created by Matthias Urlichs <smurf at debian.org>.
+
+The upstream author is Gisle Aas <gisle at ActiveState.com>.
+
+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'.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a3b0b57
--- /dev/null
+++ b/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:
+ 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-dumpxml-perl.git
More information about the Pkg-perl-cvs-commits
mailing list