+cl-md5 (1.8.5-2) unstable; urgency=low
+
+ * Build with debhelper extension dh-lisp
+ * debian/watch: New file
+ * debian/control: Require debhelper 7. Change to new lisp section.
+ Added Vcs-Git, Vcs-Browser and Homepage fields.
+ * debian/compat: Update to version 7
+ * debian/rules: Update for debhelper 7, architecture-independent build
+
+ -- Kevin M. Rosenberg <kmr@debian.org> Mon, 03 Aug 2009 14:28:20 -0600
+
cl-md5 (1.8.5-1) unstable; urgency=low
* Patch from John Desoi for Lispworks compatibility
Section: devel
Priority: optional
Maintainer: Kevin M. Rosenberg <kmr@debian.org>
-Build-Depends-Indep: debhelper (>= 4.0.0)
-Standards-Version: 3.6.1.1
+Build-Depends-Indep: dh-lisp
+Build-Depends: debhelper (>= 7.0.0)
+Standards-Version: 3.8.2.0
+Homepage: http://files.b9.com/md5/
+Vcs-Git: git://git.b9.com/md5.git
Package: cl-md5
Architecture: all
-Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.37)
+Depends: ${misc:Depends}
Description: Common Lisp package for MD5 Message Digests
This package contains a Common Lisp function to calculate the MD5
message digest of a string, stream, or file.
-
+++ /dev/null
-#! /bin/sh
-# postinst script for cl-md5
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# package name according to lisp
-LISP_PKG=md5
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-case "$1" in
- configure)
- /usr/sbin/register-common-lisp-source ${LISP_PKG}
- ;;
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
+++ /dev/null
-#! /bin/sh
-# prerm script for cl-md5
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# package name according to lisp
-LISP_PKG=md5
-
-# summary of how this script can be called:
-# * <prerm> `remove'
-# * <old-prerm> `upgrade' <new-version>
-# * <new-prerm> `failed-upgrade' <old-version>
-# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-# * <deconfigured's-prerm> `deconfigure' `in-favour'
-# <package-being-installed> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- remove|upgrade|deconfigure)
- /usr/sbin/unregister-common-lisp-source ${LISP_PKG}
- ;;
- failed-upgrade)
- ;;
- *)
- echo "prerm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
#!/usr/bin/make -f
-pkg := md5
-debpkg := cl-md5
-
+pkg := md5
+debpkg := cl-md5
clc-source := usr/share/common-lisp/source
clc-systems := usr/share/common-lisp/systems
-clc-md5 := $(clc-source)/$(pkg)
-
-doc-dir := usr/share/doc/$(debpkg)
-
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
-
- touch configure-stamp
+clc-files := $(clc-source)/$(pkg)
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
- # Add here commands to compile the package.
- touch build-stamp
+build:
clean:
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp
- # Add here commands to clean up after the build process.
- rm -f debian/cl-md5.postinst.* debian/cl-md5.prerm.*
dh_clean
install: build
dh_testdir
dh_testroot
- dh_clean -k
- # Add here commands to install the package into debian/md5.
- dh_installdirs $(clc-systems) $(clc-md5)
- dh_install md5.asd $(shell echo *.lisp) $(clc-md5)
- dh_link $(clc-md5)/md5.asd $(clc-systems)/md5.asd
-
-# Build architecture-independent files here.
-binary-indep: build install
+ dh_prep
+ dh_installdirs
+ dh_install md5.asd $(clc-files)
+ dh_install *.lisp $(clc-files)
-
-# Build architecture-dependent files here.
-binary-arch: build install
+binary-indep: install
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
- dh_strip
+ dh_lisp
dh_compress
dh_fixperms
dh_installdeb
dh_md5sums
dh_builddeb
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+binary-arch:
+
+binary: binary-indep
+
+.PHONY: build clean binary-indep binary-arch binary install