From: Kevin Rosenberg Date: Mon, 3 Aug 2009 21:57:37 +0000 (-0600) Subject: Convert to dh-lisp; add Vcs-Browser X-Git-Tag: debian-0.2.0-5^0 X-Git-Url: http://git.kpe.io/?p=cl-readline.git;a=commitdiff_plain;h=3515810a8fd772fddd0d5b893eaf0c1a0092a4ee Convert to dh-lisp; add Vcs-Browser --- diff --git a/debian/changelog b/debian/changelog index 313c219..4223655 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 03 Aug 2009 12:16:07 -0600 + cl-readline (0.2.0-4) unstable; urgency=low * debian/watch: New file diff --git a/debian/control b/debian/control index c0b36bc..153a0a9 100644 --- a/debian/control +++ b/debian/control @@ -2,13 +2,14 @@ Source: cl-readline Section: lisp Priority: optional Maintainer: Kevin M. Rosenberg -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 index 8cfb9fa..0000000 --- a/debian/postinst +++ /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 index 6e5b1d5..0000000 --- a/debian/prerm +++ /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 - - diff --git a/debian/rules b/debian/rules index 7801384..5c56ab8 100755 --- a/debian/rules +++ b/debian/rules @@ -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 diff --git a/debian/watch b/debian/watch index 8a5a9ff..75f1b8d 100644 --- a/debian/watch +++ b/debian/watch @@ -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