Convert to dh-lisp; add Vcs-Browser debian-0.6.3-2
authorKevin Rosenberg <kevin@rosenberg.net>
Tue, 4 Aug 2009 02:33:36 +0000 (20:33 -0600)
committerKevin Rosenberg <kevin@rosenberg.net>
Tue, 4 Aug 2009 02:33:36 +0000 (20:33 -0600)
debian/changelog
debian/control
debian/postinst [deleted file]
debian/prerm [deleted file]
debian/rules

index dc1a5f6e0ff7ef49984c261108206a99a7119fc6..218acb0f96dbe88c3becef4f637ffadd4ec4ba46 100644 (file)
@@ -1,3 +1,10 @@
+cl-xlunit (0.6.3-2) unstable; urgency=low
+
+  * Build with debhelper extension dh-lisp
+  * control: Add Vcs-Browser field. Fix Depends field.
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Mon, 03 Aug 2009 20:32:20 -0600
+
 cl-xlunit (0.6.3-1) unstable; urgency=low
 
   * New upstream
index a9601a6d3691a01c5358ea0b11433ff05bfebe6f..49000efeb81d55877bffd49b2f1a70e2c61490f4 100644 (file)
@@ -2,14 +2,16 @@ Source: cl-xlunit
 Section: lisp
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
+Build-Depends-Indep: dh-lisp
 Build-Depends: debhelper (>> 7.0.0)
 Standards-Version: 3.8.2.0
-Vcs-Git: git://git.b9.com/xlunit.git
 Homepage: http://files.b9.com/xlunit/
+Vcs-Git: git://git.b9.com/xlunit.git
+Vcs-Browser: http://git.b9.com/?p=xlunit.git
 
 Package: cl-xlunit
 Architecture: all
-Depends: common-lisp-controller (>= 3.37)
+Depends: ${misc:Depends}
 Description: Common Lisp eXtreme Lisp Unit Testing Package
  XLUnit provides a unit testing package for Common Lisp.
  It is based on the XPTest package by OnShore development, but is
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644 (file)
index 8e4e7e3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#! /bin/sh
-set -e
-
-LISP_PKG=xlunit
-
-case "$1" in
-    configure)
-       register-common-lisp-source ${LISP_PKG}
-
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/prerm b/debian/prerm
deleted file mode 100644 (file)
index d65de45..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/sh
-set -e
-
-LISP_PKG=xlunit
-
-case "$1" in
-    remove|upgrade|deconfigure)
-       unregister-common-lisp-source ${LISP_PKG}
-        ;;
-    failed-upgrade)
-        ;;
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
-
index 40bb3802951cdc584fea6e4637dff3311e696160..785d0390be409ea2ac5ccea161388aed612cf18f 100755 (executable)
@@ -1,56 +1,45 @@
 #!/usr/bin/make -f
 
-pkg    := xlunit
-debpkg  := cl-xlunit
+pkg            := xlunit
+debpkg         := cl-xlunit
 
 clc-source     := usr/share/common-lisp/source
 clc-systems    := usr/share/common-lisp/systems
-clc-xlunit     := $(clc-source)/$(pkg)
-doc-dir                := usr/share/doc/$(debpkg)
-
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       touch configure-stamp
+clc-files      := $(clc-source)/$(pkg)
 
 
-build: build-stamp
-
-build-stamp: configure-stamp 
-       dh_testdir
-       touch build-stamp
+build:
 
 clean:
        dh_testdir
        dh_testroot
-       rm -f build-stamp configure-stamp
-       rm -f debian/cl-xlunit.postinst.* debian/cl-xlunit.prerm.*
        dh_clean
 
 install: build
        dh_testdir
        dh_testroot
        dh_prep
-       dh_installdirs $(clc-systems) $(clc-xlunit) $(doc-dir)
-       dh_install xlunit.asd $(shell echo *.lisp) $(clc-xlunit)
-       dh_link $(clc-xlunit)/xlunit.asd $(clc-systems)/xlunit.asd
-
-binary-indep: build install
-       dh_testdir -i
-       dh_testroot -i
-       dh_installdocs -i 
-       dh_installexamples -i example.lisp
-       dh_installchangelogs -i
-       dh_strip -i
-       dh_compress -i
-       dh_fixperms -i
-       dh_installdeb -i
-       dh_gencontrol -i
-       dh_md5sums -i
-       dh_builddeb -i
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+       dh_installdirs
+       dh_install xlunit.asd  $(clc-files)
+       dh_install *.lisp  $(clc-files)
+
+binary-indep: install
+       dh_testdir
+       dh_testroot
+       dh_installdocs 
+       dh_installexamples example.lisp
+       dh_installchangelogs
+       dh_lisp
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary-arch:
+
+binary: binary-indep
+
 
+.PHONY: build clean binary-indep binary-arch binary install