Convert to dh-lisp; add Vcs-Browser debian-0.2.0-5
authorKevin Rosenberg <kevin@rosenberg.net>
Mon, 3 Aug 2009 21:57:37 +0000 (15:57 -0600)
committerKevin Rosenberg <kevin@rosenberg.net>
Mon, 3 Aug 2009 21:57:37 +0000 (15:57 -0600)
debian/changelog
debian/control
debian/postinst [deleted file]
debian/prerm [deleted file]
debian/rules
debian/watch

index 313c2198a25726a6d82aca00a8c4a6fdffe8b15f..4223655e8aac3a702c83c418159886b86bd736f2 100644 (file)
@@ -1,3 +1,10 @@
+cl-readline (0.2.0-5) unstable; urgency=low
+
+  * Convert to dh-lisp
+  * control: Add Vcs-Browser field
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Mon, 03 Aug 2009 12:16:07 -0600
+
 cl-readline (0.2.0-4) unstable; urgency=low
 
   * debian/watch: New file
index c0b36bc665b5cff5c25068ed677f5122412bd34f..153a0a9cacdc56c992eb2cab91c5f76d2367b575 100644 (file)
@@ -2,13 +2,14 @@ Source: cl-readline
 Section: lisp
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
-Build-Depends: debhelper (>= 7.0.0), libreadline5-dev | libreadline-dev
+Build-Depends: debhelper (>= 7.0.0), dh-lisp, libreadline-dev
 Standards-Version: 3.8.2.0
 Vcs-Git: git://git.b9.com/cl-readline.git
+Vcs-Browser: http://git.b9.com/?p=cl-readline.git
 
 Package: cl-readline
 Architecture: any
-Depends: ${shlibs:Depends}, common-lisp-controller, cl-uffi
+Depends: ${shlibs:Depends}, ${misc:Depends}, cl-uffi
 Description: Common Lisp interface to the GNU readline library
  This package uses Common Lisp UFFI package to provide an
  interface to the GNU readline library. This allows Common Lisp 
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100755 (executable)
index 8cfb9fa..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /bin/sh
-set -e
-
-LISP_PKG=readline
-
-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 6e5b1d5..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/sh
-set -e
-
-LISP_PKG=readline
-
-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 7801384fca32d6a07c1455bf572ab9ae1762bd57..5c56ab8c397eddaa9bbf7df844feb1872449e782 100755 (executable)
@@ -1,23 +1,16 @@
 #!/usr/bin/make -f
 
-pkg    := readline
-debpkg  := cl-$(pkg)
+pkg            := readline
+debpkg         := cl-$(pkg)
 
 clc-source     := usr/share/common-lisp/source
 clc-systems    := usr/share/common-lisp/systems
 clc-files      := $(clc-source)/$(pkg)
-doc-dir                := usr/share/doc/$(debpkg)
 lib-dir                := usr/lib/cl-readline
-source-files   := $(wildcard *.lisp)
-
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       touch configure-stamp
 
 build: build-stamp
 
-build-stamp: configure-stamp 
+build-stamp:
        dh_testdir
        $(MAKE)
        touch build-stamp
@@ -25,27 +18,26 @@ build-stamp: configure-stamp
 clean:
        dh_testdir
        dh_testroot
-       rm -f build-stamp configure-stamp
-       rm -f debian/$(debpkg).postinst.* debian/$(debpkg).prerm.*
-       rm -f *.o *.so
+       rm -f build-stamp *.o *.so
        dh_clean
 
 install: build
        dh_testdir
        dh_testroot
        dh_prep
-       dh_installdirs $(clc-systems) $(clc-files) $(clc-tests)
-       dh_install $(pkg).asd $(source-files) $(clc-files)
-       dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd
+       dh_installdirs
+       dh_install $(pkg).asd $(clc-files)
+       dh_install *.lisp $(clc-files)
        dh_install *.so $(lib-dir)
 
-binary-indep: build install
+binary-indep:
 
-binary-arch: build install
+binary-arch: install
        dh_testdir -a
        dh_testroot -a
        dh_installdocs -a
        dh_installchangelogs -a
+       dh_lisp -a
        dh_strip -a
        dh_compress -a
        dh_fixperms -a
@@ -55,6 +47,5 @@ binary-arch: build install
        dh_md5sums -a
        dh_builddeb -a
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
-
+binary: binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
index 8a5a9ff8cc7f2c74213320cb7393f14343687bdd..75f1b8d7dcecf77205ed12719700e70292030c68 100644 (file)
@@ -1 +1,2 @@
-# There is no upstream download page. See the Vcs-Git repository.
+# There is no upstream available anymore. Refer to the Vcs-Git to get the
+# source for this Debian package