Convert to dh-lisp; add Vcs-Browser debian-2.11.0-3
authorKevin Rosenberg <kevin@rosenberg.net>
Mon, 3 Aug 2009 20:06:32 +0000 (14:06 -0600)
committerKevin Rosenberg <kevin@rosenberg.net>
Mon, 3 Aug 2009 20:06:32 +0000 (14:06 -0600)
debian/changelog
debian/control
debian/postinst [deleted file]
debian/prerm [deleted file]
debian/rules

index 257bb281f76d84ed73dacd6317dfd56c7bfcfbcb..bf94f5e61ebef4e2aff4f00338d94adc5c9e649e 100644 (file)
@@ -1,3 +1,11 @@
+cl-hyperobject (2.11.0-3) unstable; urgency=low
+
+  * Build with debhelper extension dh-lisp
+  * control: Add Vcs-Browser field. Fix Depends field.
+  * rules: Fix installation of example file
+  
+ -- Kevin M. Rosenberg <kmr@debian.org>  Mon, 03 Aug 2009 14:02:47 -0600
+
 cl-hyperobject (2.11.0-2) unstable; urgency=low
 
   * debian/watch: New file
index c197a4a8be52fc143e50be3db4d22821ce559163..76f6b7dfbd05a786d4d9c1e9f4ce3a21e2966463 100644 (file)
@@ -2,14 +2,16 @@ Source: cl-hyperobject
 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
 Homepage: http://hyperobject.b9.com/
 Vcs-Git: git://git.b9.com/hyperobject.git
+Vcs-Browser: http://git.b9.com/?p=hyperobject.git
 
 Package: cl-hyperobject
 Architecture: all
-Depends: common-lisp-controller, cl-kmrcl, cl-rt
+Depends: ${misc:Depends}, cl-kmrcl, cl-rt
 Description: Common Lisp library for hyperobjects
  This package contains a library for creating and display hyperobjects.
  Hyperobjects contain references to subobjects as well as to linked
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100755 (executable)
index ee936c9..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /bin/sh
-set -e
-
-LISP_PKG=hyperobject
-
-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 100755 (executable)
index 5dab061..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/sh
-set -e
-
-LISP_PKG=hyperobject
-
-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 0757650fb0e51914a1b094808784d53a950e1587..a3a19053303e00116d7500d44eeeda90ad7eec0d 100755 (executable)
@@ -1,62 +1,50 @@
 #!/usr/bin/make -f
 
-pkg      := hyperobject
-pkg-tests := $(pkg)-tests
-debpkg    := cl-$(pkg)
+pkg            := hyperobject
+pkg-tests      := $(pkg)-tests
+debpkg         := cl-$(pkg)
 
 clc-source     := usr/share/common-lisp/source
 clc-systems    := usr/share/common-lisp/systems
 clc-files      := $(clc-source)/$(pkg)
 clc-tests      := $(clc-source)/$(pkg-tests)
-doc-dir                := usr/share/doc/$(debpkg)
 
 tests-files    := tests.lisp
 source-files   := $(filter-out $(tests-files),$(wildcard *.lisp))
 
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       touch configure-stamp
-
-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/$(debpkg).postinst.* debian/$(debpkg).prerm.*
        dh_clean
 
 install: build
        dh_testdir
        dh_testroot
        dh_prep
-       dh_installdirs $(clc-systems) $(clc-files) $(doc-dir) $(clc-tests)
+       dh_installdirs
        dh_install $(pkg).asd $(source-files) $(clc-files)
-       dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd
        dh_install $(pkg-tests).asd $(tests-files) $(clc-tests)
-       dh_link $(clc-tests)/$(pkg-tests).asd $(clc-systems)/$(pkg-tests).asd
-
-binary-indep: build install
-       dh_testdir -i 
-       dh_testroot -i
-       dh_installdocs -i
-       dh_installexamples -i $(wilcard examples/*.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
 
+binary-indep: install
+       dh_testdir
+       dh_testroot 
+       dh_installdocs 
+       dh_installexamples examples/*.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