+cl-getopt (1.2.0-2) unstable; urgency=low
+
+ * debian/watch: New file
+ * debian/control: Require debhelper 7. Change to new lisp section.
+ Add Vcs-Git and Homepage fields.
+ * debian/compat: Update to version 7
+ * debian/rules: Update for debhelper 7, architecture-independent build
+ * debian/{prerm,postrm}: Remove path from binary function
+
+ -- Kevin M. Rosenberg <kmr@debian.org> Sun, 02 Aug 2009 04:30:20 -0600
+
cl-getopt (1.2.0-1) unstable; urgency=low
* New upstream
Source: cl-getopt
-Section: devel
+Section: lisp
Priority: optional
Maintainer: Kevin M. Rosenberg <kmr@debian.org>
-Build-Depends: debhelper (>= 4.0.0)
-Standards-Version: 3.7.3.0
+Build-Depends: debhelper (>= 7.0.0)
+Standards-Version: 3.8.2.0
+Homepage: http://files.b9.com/getopt/
+Vcs-Git: git://git.b9.com/getopt.git
Package: cl-getopt
Architecture: all
-Depends: ${shlibs:Depends}, common-lisp-controller, cl-ptester
+Depends: common-lisp-controller, cl-ptester
Description: Common Lisp utility for command-line processing
This package provides Common Lisp programs processing of command-line
arguments. The command-line processing is based on GNU's getopt_long
LISP_PKG=getopt
-# 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}
+ register-common-lisp-source ${LISP_PKG}
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
;;
esac
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
#DEBHELPER#
exit 0
LISP_PKG=getopt
-# 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}
+ unregister-common-lisp-source ${LISP_PKG}
;;
failed-upgrade)
;;
;;
esac
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
#DEBHELPER#
exit 0
clc-files := $(clc-source)/$(pkg)
clc-tests := $(clc-source)/$(pkg-tests)
doc-dir := usr/share/doc/$(debpkg)
-
source-files := $(wildcard *.lisp)
configure: configure-stamp
dh_testdir
touch configure-stamp
-
build: build-stamp
build-stamp: configure-stamp
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
- # Clean up after the build process.
rm -f debian/$(debpkg).postinst.* debian/$(debpkg).prerm.*
dh_clean
install: build
dh_testdir
dh_testroot
- dh_clean -k
- # Install the package into debian/getopt.
+ 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
-# Build architecture-independent files
binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-# Build architecture-dependent files
+ dh_testdir -i
+ dh_testroot -i
+ dh_installdocs -i
+ 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
-
--- /dev/null
+version=3
+http://files.b9.com/getopt/getopt-([\d\.]*)\.tar\.gz
+