From 5f11ec763ae4e819737aa20475ebe32c50b52e00 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 4 Aug 2008 02:03:17 -0400 Subject: [PATCH] use cdbs in sipb-xen-dev svn path=/trunk/packages/sipb-xen-dev/; revision=858 --- debian/changelog | 6 ++++ debian/control | 2 +- debian/control.in | 13 ++++++++ debian/rules | 96 ++--------------------------------------------------- 4 files changed, 22 insertions(+), 95 deletions(-) create mode 100644 debian/control.in diff --git a/debian/changelog b/debian/changelog index 57671d2..eeddfae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sipb-xen-dev (19) unstable; urgency=low + + * use CDBS, which doesn't forget dh_installinit like I did + + -- Greg Price Mon, 4 Aug 2008 02:02:41 -0400 + sipb-xen-dev (18) unstable; urgency=low * sign the packages, getting keyid from invirt.config diff --git a/debian/control b/debian/control index f97a26d..90ba4d8 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: sipb-xen-dev Section: servers Priority: important Maintainer: sipb-xen@mit.edu -Build-Depends: debhelper (>= 5) +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5) Standards-Version: 3.7.2 Package: sipb-xen-dev diff --git a/debian/control.in b/debian/control.in new file mode 100644 index 0000000..d8d388a --- /dev/null +++ b/debian/control.in @@ -0,0 +1,13 @@ +Source: sipb-xen-dev +Section: servers +Priority: important +Maintainer: sipb-xen@mit.edu +Build-Depends: @cdbs@ +Standards-Version: 3.7.2 + +Package: sipb-xen-dev +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg-dev-el, emacs21, reprepro, apache2, postfix, screen, dh-make, screen, , fakeroot, pbuilder +Description: SIPB Xen development server + This package should be installed on sipb-xen-dev + It makes sure that necessary tools are available. diff --git a/debian/rules b/debian/rules index d132bd6..d14060f 100755 --- a/debian/rules +++ b/debian/rules @@ -1,97 +1,5 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 - - - -CFLAGS = -Wall -g - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - - touch configure-stamp - - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/sipb-xen-dev. - - - -# Build architecture-independent files here. -binary-arch: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl -# dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +include /usr/share/cdbs/1/rules/debhelper.mk -- 1.7.9.5