r25829 - in /trunk/libjson-xs-perl/debian: ./ changelog compat control copyright rules

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Tue Oct 7 18:56:55 UTC 2008


Author: angelabad-guest
Date: Tue Oct  7 18:56:52 2008
New Revision: 25829

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25829
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libjson-xs-perl/debian/
    trunk/libjson-xs-perl/debian/changelog
    trunk/libjson-xs-perl/debian/compat
    trunk/libjson-xs-perl/debian/control
    trunk/libjson-xs-perl/debian/copyright
    trunk/libjson-xs-perl/debian/rules   (with props)

Added: trunk/libjson-xs-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/changelog?rev=25829&op=file
==============================================================================
--- trunk/libjson-xs-perl/debian/changelog (added)
+++ trunk/libjson-xs-perl/debian/changelog Tue Oct  7 18:56:52 2008
@@ -1,0 +1,5 @@
+libjson-xs-perl (2.01-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #457611)
+
+ -- Ivan Kohler <ivan-debian at 420.am>  Sun, 23 Dec 2007 12:44:29 -0800

Added: trunk/libjson-xs-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/compat?rev=25829&op=file
==============================================================================
--- trunk/libjson-xs-perl/debian/compat (added)
+++ trunk/libjson-xs-perl/debian/compat Tue Oct  7 18:56:52 2008
@@ -1,0 +1,1 @@
+5

Added: trunk/libjson-xs-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/control?rev=25829&op=file
==============================================================================
--- trunk/libjson-xs-perl/debian/control (added)
+++ trunk/libjson-xs-perl/debian/control Tue Oct  7 18:56:52 2008
@@ -1,0 +1,23 @@
+Source: libjson-xs-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.8)
+Maintainer: Ivan Kohler <ivan-debian at 420.am>
+Standards-Version: 3.7.2
+Homepage: http://search.cpan.org/dist/JSON-XS/
+
+Package: libjson-xs-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, 
+Description: Perl module for JSON serialising/deserialising
+ This module converts Perl data structures to JSON and vice versa. Its
+ primary goal is to be correct and its secondary goal is to be
+ fast. To reach the latter goal it was written in C.
+ .
+ Beginning with version 2.0 of the JSON module, when both JSON and
+ JSON::XS are installed, then JSON will fall back on JSON::XS (this can be
+ overriden) with no overhead due to emulation (by inheritign constructor
+ and methods). If JSON::XS is not available, it will fall back to the
+ compatible JSON::PP module as backend, so using JSON instead of JSON::XS
+ gives you a portable JSON API that can be fast when you need and doesn't
+ require a C compiler when that is a problem.

Added: trunk/libjson-xs-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/copyright?rev=25829&op=file
==============================================================================
--- trunk/libjson-xs-perl/debian/copyright (added)
+++ trunk/libjson-xs-perl/debian/copyright Tue Oct  7 18:56:52 2008
@@ -1,0 +1,18 @@
+This is the debian package for the JSON-XS module.
+It was created by Ivan Kohler <ivan-debian at 420.am> using dh-make-perl.
+
+It was downloaded from http://search.cpan.org/dist/JSON-XS/
+
+The upstream author is: 
+
+Marc Lehmann <schmorp at schmorp.de>
+
+This module is licensed 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'.
+
+The Debian packaging is (C) 2007 Ivan Kohler <ivan-debian at 420.am> and
+is licensed under the same terms as the software itself (see above).

Added: trunk/libjson-xs-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/rules?rev=25829&op=file
==============================================================================
--- trunk/libjson-xs-perl/debian/rules (added)
+++ trunk/libjson-xs-perl/debian/rules Tue Oct  7 18:56:52 2008
@@ -1,0 +1,94 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# 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
+
+	# As this is a architecture dependent package, we are not
+	# supposed to install stuff to /usr/share. MakeMaker creates
+	# the dirs, we prevent this by setting the INSTALLVENDORARCH
+	# and VENDORARCHEXP environment variables.
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor \
+		INSTALLVENDORARCH=/usr/lib/perl5/ \
+		VENDORARCHEXP=/usr/lib/perl5/
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	$(MAKE) test
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	dh_clean build-stamp install-stamp
+
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	touch $@
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do here for an architecture-dependent package
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installexamples 
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_shlibdeps
+	dh_strip
+	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

Propchange: trunk/libjson-xs-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-perl-cvs-commits mailing list