From: Kevin Rosenberg Date: Mon, 3 Aug 2009 20:39:28 +0000 (-0600) Subject: Convert to dh-lisp; add Vcs-Browser X-Git-Tag: debian-1.2.1-5^0 X-Git-Url: http://git.kpe.io/?p=pipes.git;a=commitdiff_plain;h=cf00d2c28afb354aaed4e2fdf8f1e5660c4c8e58 Convert to dh-lisp; add Vcs-Browser --- diff --git a/debian/changelog b/debian/changelog index b113885..caddeb7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +cl-pipes (1.2.1-5) unstable; urgency=low + + * Build with debhelper extension dh-lisp + * control: Add Vcs-Browser field. Fix Depends field. + + -- Kevin M. Rosenberg Mon, 03 Aug 2009 14:38:24 -0600 + cl-pipes (1.2.1-4) unstable; urgency=low * debian/watch: New file diff --git a/debian/control b/debian/control index 47c6f4e..808222e 100644 --- a/debian/control +++ b/debian/control @@ -2,14 +2,16 @@ Source: cl-pipes Section: lisp Priority: optional Maintainer: Kevin M. Rosenberg +Build-Depends-Indep: dh-lisp Build-Depends: debhelper (>= 7.0.0) Standards-Version: 3.8.2.0 Homepage: http://files.b9.com/pipes/ Vcs-Git: git://git.b9.com/pipes.git +Vcs-Browser: http://git.b9.com/?p=pipes.git Package: cl-pipes Architecture: all -Depends:common-lisp-controller (>= 3.47) +Depends: ${misc:Depends} Description: Common Lisp library for pipes or streams This package has functions for manipulating pipes, also called streams. This package is adapted from an implementation in Peter Norvig's diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index 4fb87df..0000000 --- a/debian/postinst +++ /dev/null @@ -1,20 +0,0 @@ -#! /bin/sh -set -e - -LISP_PKG=pipes - -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 419ba0c..0000000 --- a/debian/prerm +++ /dev/null @@ -1,22 +0,0 @@ -#! /bin/sh -set -e - -LISP_PKG=pipes - -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 e7b6043..cb72526 100755 --- a/debian/rules +++ b/debian/rules @@ -1,55 +1,45 @@ #!/usr/bin/make -f -pkg := pipes -debpkg := cl-pipes +pkg := pipes +debpkg := cl-pipes clc-source := usr/share/common-lisp/source clc-systems := usr/share/common-lisp/systems -clc-pipes := $(clc-source)/$(pkg) -doc-dir := usr/share/doc/$(debpkg) +clc-files := $(clc-source)/$(pkg) -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/cl-pipes.postinst.* debian/cl-pipes.prerm.* dh_clean install: build dh_testdir dh_testroot dh_prep - dh_installdirs $(clc-systems) $(clc-pipes) $(doc-dir) - dh_install pipes.asd $(shell echo *.lisp) $(clc-pipes) - dh_link $(clc-pipes)/pipes.asd $(clc-systems)/pipes.asd - -binary-indep: build install - dh_testdir -i - dh_testroot -i - dh_installdocs -i - dh_installexamples -i pipes-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 - -# Build architecture-dependent files here. -binary-arch: build install - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure + dh_installdirs + dh_install pipes.asd $(clc-files) + dh_install *.lisp $(clc-files) + +binary-indep: install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples pipes-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