[Reproducible-commits] [libextutils-depends-perl] 08/187: added MANIFEST and README, and debian packaging files contributed by James Curbo. version 0.103.

Maria Valentina Marin Rodrigues akira-guest at moszumanska.debian.org
Wed Jan 21 21:16:42 UTC 2015


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

akira-guest pushed a commit to branch pu/reproducible_builds
in repository libextutils-depends-perl.

commit f371a4d3feef725e7551b46e133e5f72accb722a
Author: Scott Arrington <sarringt at src.gnome.org>
Date:   Fri Aug 15 14:05:12 2003 +0000

    added MANIFEST and README, and debian packaging files contributed by
    James Curbo.  version 0.103.
    
    svn path=/trunk/; revision=12
---
 Changes                 |  3 ++
 MANIFEST                | 13 ++++++++
 README                  | 45 ++++++++++++++++++++++++++
 debian/changelog        |  6 ++++
 debian/compat           |  1 +
 debian/control          | 21 ++++++++++++
 debian/copyright        | 11 +++++++
 debian/rules            | 85 +++++++++++++++++++++++++++++++++++++++++++++++++
 lib/ExtUtils/Depends.pm |  2 +-
 9 files changed, 186 insertions(+), 1 deletion(-)

diff --git a/Changes b/Changes
index daae224..2f20e27 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension ExtUtils::Depends.
 
+0.103 Fri Aug 15 09:59:42 EDT 2003
+	- add files for maintaining debian packages.
+
 0.102 Tue Jul  8 14:10:29 EDT 2003
 	- use File::Spec->file_name_is_absolute instead of non-portable m{^/}.
 	  still uses direct string manipulation on paths, but this fix lets
diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..0bb7854
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,13 @@
+Makefile.PL
+Changes
+lib/ExtUtils/Depends.pm
+t/01_load.t
+META.yml
+MANIFEST
+.cvsignore
+debian/changelog
+debian/compat
+debian/control
+debian/copyright
+debian/rules
+README
diff --git a/README b/README
new file mode 100644
index 0000000..9426d3a
--- /dev/null
+++ b/README
@@ -0,0 +1,45 @@
+NAME
+    ExtUtils::Depends - Easily build XS extensions that depend on XS
+    extensions
+
+SYNOPSIS
+            use ExtUtils::Depends;
+            $package = new ExtUtils::Depends ('pkg::name', 'base::package')
+            # set the flags and libraries to compile and link the module
+            $package->set_inc("-I/opt/blahblah");
+            $package->set_lib("-lmylib");
+            # add a .c and an .xs file to compile
+            $package->add_c('code.c');
+            $package->add_xs('module-code.xs');
+            # add the typemaps to use
+            $package->add_typemaps("typemap");
+            # save the info
+            $package->save_config('Files.pm');
+
+            WriteMakefile(
+                    'NAME' => 'Mymodule',
+                    $package->get_makefile_vars()
+            );
+
+DESCRIPTION
+    This module tries to make it easy to build Perl extensions that use
+    functions and typemaps provided by other perl extensions. This means
+    that a perl extension is treated like a shared library that provides
+    also a C and an XS interface besides the perl one. This works as long as
+    the base extension is loaded with the RTLD_GLOBAL flag (usually done
+    with a
+
+            sub dl_load_flags {0x01}
+
+    in the main .pm file) if you need to use functions defined in the
+    module.
+
+AUTHOR
+    Paolo Molaro, lupus at debian.org
+
+MAINTAINER
+    The Gtk2 project, http://gtk2-perl.sf.net/
+
+SEE ALSO
+    ExtUtils::MakeMaker.
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..866ef10
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libextutils-depends-perl (0.102-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- James Curbo <hannibal at adtrw.org>  Wed,  6 Aug 2003 18:32:00 -0500
+
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..d964cc6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: libextutils-depends-perl
+Section: perl
+Priority: optional
+Build-Depends-Indep: debhelper (>= 3.0.16), perl (>= 5.8.0-7)
+Maintainer: James Curbo <hannibal at adtrw.org>
+Standards-Version: 3.6.0
+
+Package: libextutils-depends-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+Description:  Easily build XS extensions that depend on XS extensions
+ This module tries to make it easy to build Perl extensions that use
+ functions and typemaps provided by other perl extensions. This means
+ that a perl extension is treated like a shared library that provides
+ also a C and an XS interface besides the perl one.
+ This works as long as the base extension is loaded with the RTLD_GLOBAL
+ flag (usually done with a
+ .
+ sub dl_load_flags {0x01}
+ .
+ in the main .pm file) if you need to use functions defined in the module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..59b36a5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+This is the debian package for the ExtUtils::Depends module.
+It was created by James Curbo <James Curbo <hannibal at adtrw.org>> using dh-make-perl.
+
+This module was downloaded from http://gtk2-perl.sf.net/
+
+The upstream author is: 
+	Paolo Molaro, lupus at debian.org.
+
+This module is licensed under the GPLv2, available on Debian systems
+in /usr/share/common-licenses/GPL
+
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 0000000..3642135
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,85 @@
+#!/usr/bin/make -f
+#-*- makefile -*-
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Christoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+ifndef DESTDIR
+DESTDIR=..
+endif
+TMP     =`pwd`/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	
+	# Add here commands to compile the package.
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="-O2 -g -Wall"
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) realclean
+
+	dh_clean
+
+install: 
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	#$(MAKE) install DESTDIR=`pwd`/debian/tmp
+	$(MAKE) install PREFIX=$(TMP)/usr
+
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs 
+	dh_installexamples
+	dh_installmenu
+#	dh_installemacsen
+#	dh_installinit
+	dh_installcron
+	dh_installman
+	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 --destdir=$(DESTDIR)
+
+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/ExtUtils/Depends.pm b/lib/ExtUtils/Depends.pm
index edb98c6..925a4c5 100644
--- a/lib/ExtUtils/Depends.pm
+++ b/lib/ExtUtils/Depends.pm
@@ -11,7 +11,7 @@ use IO::File;
 use strict;
 use vars qw($AUTOLOAD $VERSION);
 
-$VERSION = 0.102;
+$VERSION = 0.103;
 
 sub new {
 	my ($class, $package, @depends) = @_;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/libextutils-depends-perl.git



More information about the Reproducible-commits mailing list