[Jifty-commit] r1834 - Jifty-DBI/trunk/debian

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Aug 21 20:19:19 EDT 2006


Author: bartb
Date: Mon Aug 21 20:19:07 2006
New Revision: 1834

Added:
   Jifty-DBI/trunk/debian/changelog
   Jifty-DBI/trunk/debian/compat
   Jifty-DBI/trunk/debian/rules   (contents, props changed)
Modified:
   Jifty-DBI/trunk/debian/control

Log:
more debian packageing stuff

Added: Jifty-DBI/trunk/debian/changelog
==============================================================================
--- (empty file)
+++ Jifty-DBI/trunk/debian/changelog	Mon Aug 21 20:19:07 2006
@@ -0,0 +1,6 @@
+libjifty-dbi-perl (0.24-1) unstable; urgency=low
+
+  * Initial debianisation.
+
+ -- Bart Bunting <bart at debian.org>  Mon, 21 Aug 2006 15:30:31 +1000
+

Added: Jifty-DBI/trunk/debian/compat
==============================================================================
--- (empty file)
+++ Jifty-DBI/trunk/debian/compat	Mon Aug 21 20:19:07 2006
@@ -0,0 +1 @@
+5

Modified: Jifty-DBI/trunk/debian/control
==============================================================================
--- Jifty-DBI/trunk/debian/control	(original)
+++ Jifty-DBI/trunk/debian/control	Mon Aug 21 20:19:07 2006
@@ -2,7 +2,6 @@
 Section: perl
 Priority: optional
 Maintainer: Bart Bunting <bart at debian.org>
-Build-Depends: 
 
 Package: libjifty-dbi-perl
 Section: perl

Added: Jifty-DBI/trunk/debian/rules
==============================================================================
--- (empty file)
+++ Jifty-DBI/trunk/debian/rules	Mon Aug 21 20:19:07 2006
@@ -0,0 +1,80 @@
+#!/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.
+#
+# It was later modified by Jason Kohles <email at 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)
+TMP     =$(CURDIR)/debian/libjifty-dbi-perl
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL installdirs=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	$(MAKE) clean
+	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) install DESTDIR=$(CURDIR)/debian/libjifty-dbi-perl
+
+	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 README
+	dh_installchangelogs Changes
+	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


More information about the Jifty-commit mailing list