[libdevice-modem-perl] 01/19: Import Debian version 1.47-1

Christoph Biedl cbiedl at moszumanska.debian.org
Sat Nov 18 09:29:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

cbiedl pushed a commit to branch master
in repository libdevice-modem-perl.

commit 41c6c2b29a4605a9e7b744173bf7c8fc3d6d58cb
Author: Dirk Prösdorf <dirk at tux.proesdorf.de>
Date:   Wed Jan 3 13:15:17 2007 +0100

    Import Debian version 1.47-1
---
 debian/compat                       |  1 +
 debian/control                      | 15 +++++++
 debian/copyright                    | 30 ++++++++++++++
 debian/rules                        | 79 +++++++++++++++++++++++++++++++++++++
 lib/Device/Modem/Protocol/Xmodem.pm |  4 ++
 5 files changed, 129 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..5684c10
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@
+Source: libdevice-modem-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), libdevice-serialport-perl
+Build-Depends-Indep: perl (>= 5.8.0-7)
+Maintainer: Dirk Proesdorf <dirk at tux.proesdorf.de>
+Standards-Version: 3.7.2
+
+Package: libdevice-modem-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libdevice-serialport-perl
+Description: Perl class to interface generic modems (AT-compliant)
+ Device::Modem class implements basic AT (Hayes) compliant device abstraction.
+ It can be inherited by sub classes (as Device::Gsm), which are based on serial
+ connections.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7e21ca3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+This is the debian package for the Device-Modem module.
+It was created by Dirk Proesdorf <dirk at tux.proesdorf.de> using dh-make-perl.
+
+Original sources were obtained from CPAN.
+
+The upstream author is:
+
+Cosimo Streppone, cosimo at cpan.org.
+
+
+(C) 2002-2006 Cosimo Streppone, cosimo at cpan.org
+
+This library is free software; you can only 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'.
+
+
+The upstream source includes lib/Device/Modem/UsRobotics.pm witch is a
+derivated work from Ludovic Drolez, ldrolez at free.fr.
+
+(C) 1998-2003 Ludovic Drolez, ldrolez at free.fr
+
+This program is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free Software
+Foundation; either version 2 of the License, or (at your option) any later
+version.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b5c6253
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,79 @@
+#!/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)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="-Wall -O2 -g"
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+	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
+	$(MAKE) test
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	# As this is a architecture independent package, we are not
+	# supposed to install stuff to /usr/lib. MakeMaker creates
+	# the dirs, we delete them from the deb:
+	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 README
+	dh_installchangelogs Changes
+	dh_perl
+	dh_link
+	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
diff --git a/lib/Device/Modem/Protocol/Xmodem.pm b/lib/Device/Modem/Protocol/Xmodem.pm
index 47df272..901375a 100755
--- a/lib/Device/Modem/Protocol/Xmodem.pm
+++ b/lib/Device/Modem/Protocol/Xmodem.pm
@@ -462,6 +462,10 @@ sub _log {
 
 1;
 
+=head1 NAME
+
+Device::Modem::Protocol::Xmodem
+
 =head1 Xmodem::Block
 
 Class that represents a single Xmodem data block.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdevice-modem-perl.git



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