ecl (9.6.1-1squeeze2) debian-dir only changes

Summary

 debian/README.Debian              |    8 +
 debian/changelog                  |  203 ++++++++++++++++++++++++++++++++++++++
 debian/compat                     |    1 
 debian/control                    |   44 ++++++++
 debian/copyright                  |   65 ++++++++++++
 debian/dirs                       |    3 
 debian/ecl-doc.dirs               |    1 
 debian/ecl-doc.doc-base           |    9 +
 debian/ecl-doc.info               |    2 
 debian/ecl.sh                     |   33 ++++++
 debian/install-clc.lisp           |   28 +++++
 debian/libecl.dirs                |    1 
 debian/rules                      |  167 +++++++++++++++++++++++++++++++
 debian/updated-with-git-cvsimport |    1 
 debian/watch                      |    4 
 15 files changed, 570 insertions(+)

    
download this patch

Patch contents

--- ecl-9.6.1.orig/debian/libecl.dirs
+++ ecl-9.6.1/debian/libecl.dirs
@@ -0,0 +1 @@
+usr/lib/ecl
--- ecl-9.6.1.orig/debian/updated-with-git-cvsimport
+++ ecl-9.6.1/debian/updated-with-git-cvsimport
@@ -0,0 +1 @@
+git-cvsimport -o upstream -d :pserver:anonymous@common-lisp.net:/project/ecl/cvsroot -v ecl
--- ecl-9.6.1.orig/debian/copyright
+++ ecl-9.6.1/debian/copyright
@@ -0,0 +1,65 @@
+This package was debianized by Peter Van Eynde <pvaneynd@debian.org> on
+Mon, 12 Dec 2005 21:54:01 +0100.
+
+It was downloaded from http://sourceforge.net/projects/ecls
+
+Upstream Author: Juan Jose Garcia Ripoll ecls-list@lists.sourceforge.net
+
+Copyright: 
+
+  Copyright (c) 2000, Juan Jose Garcia Ripoll
+  Copyright (c) 1990, 1991, 1993 Giuseppe Attardi
+  Copyright (c) 1984 Taiichi Yuasa and Masami Hagiya
+	      All Rights Reserved
+ 
+ Distributed under the terms of the GNU Library General Public Licence.
+   See /usr/share/common-licenses/LGPL
+
+Some files are not under the LGPL:
+
+- src/lsp/loop2.lsp
+- src/clx
+- contrib/asdf
+- contrib/rt: MIT-like licenses
+
+- src/lsp/pprint.lsp
+- src/lsp/format.lsp
+- contrib/sockets: in the public domain
+
+- contrib/defsystem: a special case, mostly MIT-like:
+;;; MK:DEFSYSTEM 3.6 Interim
+;;;
+;;; Copyright (c) 1989 - 1999 Mark Kantrowitz. All rights reserved.
+;;;               1999 - 2005 Mark Kantrowitz and Marco Antoniotti. All
+;;;                           rights reserved.
+
+;;; Use, copying, modification, merging, publishing, distribution
+;;; and/or sale of this software, source and/or binary files and
+;;; associated documentation files (the "Software") and of derivative
+;;; works based upon this Software are permitted, as long as the
+;;; following conditions are met:
+
+;;;    o this copyright notice is included intact and is prominently
+;;;      visible in the Software
+;;;    o if modifications have been made to the source code of the
+;;;      this package that have not been adopted for inclusion in the
+;;;      official version of the Software as maintained by the Copyright
+;;;      holders, then the modified package MUST CLEARLY identify that
+;;;      such package is a non-standard and non-official version of
+;;;      the Software.  Furthermore, it is strongly encouraged that any
+;;;      modifications made to the Software be sent via e-mail to the
+;;;      MK-DEFSYSTEM maintainers for consideration of inclusion in the
+;;;      official MK-DEFSYSTEM package.
+
+;;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+;;; EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+;;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
+;;; IN NO EVENT SHALL M. KANTROWITZ AND M. ANTONIOTTI BE LIABLE FOR ANY
+;;; CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+;;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+;;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+;;; Except as contained in this notice, the names of M. Kantrowitz and
+;;; M. Antoniotti shall not be used in advertising or otherwise to promote
+;;; the sale, use or other dealings in this Software without prior written
+;;; authorization from M. Kantrowitz and M. Antoniotti.
--- ecl-9.6.1.orig/debian/compat
+++ ecl-9.6.1/debian/compat
@@ -0,0 +1 @@
+7
--- ecl-9.6.1.orig/debian/control
+++ ecl-9.6.1/debian/control
@@ -0,0 +1,44 @@
+Source: ecl
+Section: devel
+Priority: optional
+Maintainer: Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>
+Uploaders: Peter Van Eynde <pvaneynd@debian.org>, Luca Capello <luca@pca.it>
+Build-Depends: debhelper (>> 7.0.0), autotools-dev, libgmp3-dev,  automake1.9, file, texinfo, libncurses5-dev, fakeroot, libgc-dev, dh-lisp (>= 0.6), chrpath
+Build-Conflicts: autoconf2.13, automake1.4
+Standards-Version: 3.8.1
+Homepage: http://ecls.sourceforge.net/
+Vcs-Git: http://git.debian.org/git/pkg-common-lisp/ecl.git
+Vcs-Browser: http://git.debian.org/?p=pkg-common-lisp/ecl.git;a=summary
+
+Package: ecl
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libgmp3-dev, libncurses5-dev, libgc-dev, gcc
+Conflicts: common-lisp-controller (<< 6.15)
+Provides: lisp-compiler
+Suggests: slime, ecl-doc
+Description: Embeddable Common-Lisp: has an interpreter and can compile to C
+ ECL stands for Embeddable Common-Lisp. The ECL project is an
+ effort to modernize Giuseppe Attardi's ECL environment to
+ produce an implementation of the Common-Lisp language
+ which complies to the ANSI X3J13 definition of the language.
+ .
+ The current ECL implementation features:
+  * A bytecodes compiler and interpreter.
+  * A translator to C.
+  * A UFFI-compatible interface to C code.
+  * A dynamic loader.
+  * The possibility to build standalone executables and DLLs.
+  * The Common-Lisp Object System (CLOS).
+  * Conditions and restarts for handling errors.
+  * Sockets as ordinary streams.
+  * The GNU Multiprecision library for fast bignum operations.
+  * A simple conservative mark & sweep garbage collector.
+  * The Boehm-Weiser garbage collector.
+
+Package: ecl-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: ecl
+Description: documentation for Embeddable Common-Lisp
+ Contains the Info and HTML documentation.
--- ecl-9.6.1.orig/debian/README.Debian
+++ ecl-9.6.1/debian/README.Debian
@@ -0,0 +1,8 @@
+The libecl.so file is changing too quickly and
+is integrated with the ecl binary to such extend
+that, after consultation with upstream,  I will 
+not create a libecl package.
+
+If ecl will reach a stable release (1.0 or so) and
+some guarantees with respect to API stability 
+can be make I will reconsider this decision.
--- ecl-9.6.1.orig/debian/dirs
+++ ecl-9.6.1/debian/dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/lib/ecl
+usr/share/man/man1
--- ecl-9.6.1.orig/debian/watch
+++ ecl-9.6.1/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+http://sf.net/ecls/ecl-([0-9][0-9a-z.]*)\.t.*gz
+
--- ecl-9.6.1.orig/debian/ecl-doc.doc-base
+++ ecl-9.6.1/debian/ecl-doc.doc-base
@@ -0,0 +1,9 @@
+Document: ecl-doc
+Title: ECL documentation
+Author: Juan Jose Garcia Ripoll, Giuseppe Attardi, Taiichi Yuasa and Masami Hagiya
+Abstract: This manual describes the usage of ECL
+Section: Programming
+
+Format: info
+Index: /usr/share/info/ecl.info.gz
+Files: /usr/share/info/ecl.info.gz /usr/share/info/ecldev.info.gz
--- ecl-9.6.1.orig/debian/changelog
+++ ecl-9.6.1/debian/changelog
@@ -0,0 +1,203 @@
+ecl (9.6.1-1squeeze2) stable; urgency=low
+
+  * Team upload for stable release update.
+  * debian/postrm: removed.
+    We introduced this scripted when using clc, but since it's gone
+    since Squeeze, the script will remove /usr/bin/ecl during
+    upgrade, renders the package not usable for any user upgrading
+    from older version. (Closes: #613484).
+
+ -- Aron Xu <aron@debian.org>  Sun, 25 Mar 2012 14:32:55 +0000
+
+ecl (9.6.1-1squeeze1) testing; urgency=low
+    
+  * Non-maintainer upload.
+  * Ignore errors from "rm /usr/share/info/dir(.old)" (Closes: #545625)
+
+ -- David Bremner <bremner@debian.org>  Sun, 26 Dec 2010 15:43:36 -0400
+
+ecl (9.6.1-1) unstable; urgency=low
+
+  * New upstream release. 
+  * Fixed watch file
+  * fixed clean to remove src/gc/configure.in file
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Wed, 17 Jun 2009 22:42:16 +0200
+
+ecl (9.4.1-1) unstable; urgency=low
+
+  * New upstream with major changes.
+  * now using debhelper version 7
+  * updated standard version without any real changes
+  * use dh_prep instead of dh_clean -k
+  * use redirected sf.net url for watch file
+  * added ${misc:Depends} for ecl-doc
+  * remove redundant Section field for binary package
+  * remove empty usr/lib/ecl/h directory
+  * fixed gnu typo in control file
+  * fixed watch file to see new version numbering scheme
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Wed, 29 Apr 2009 05:58:47 +0200
+
+ecl (0.9j-20080306-5) unstable; urgency=low
+
+  * debian/control:
+    + Build-Depends: on chrpath to remove unnecessary rpath headers
+      from binaries in /usr/lib/ecl/, thanks to Bill Allombert
+      <bill.allombert@math.u-bordeaux1.fr> (Closes: #495756).
+    + Depends: on gcc, it's required at installation and everytime
+      you want to produce a loadable object file.
+
+  * debian/rules:
+    + add chrpath call to 'install' target.
+
+ -- Luca Capello <luca@pca.it>  Tue, 09 Sep 2008 21:54:43 +0200
+
+ecl (0.9j-20080306-4) unstable; urgency=low
+
+  * debian/control:
+    + build-depend on quilt to manage patches.
+
+  * debian/patches/series: new file.
+  * debian/patches/01_src-configure-add-missing-test.patch:
+    + add missing `test' invocation in x86_64 check for dynamic FFI.
+
+  * debian/rules:
+    + adapt to quilt.
+
+ -- Luca Capello <luca@pca.it>  Mon, 07 Jul 2008 18:49:53 +0200
+
+ecl (0.9j-20080306-3) unstable; urgency=low
+
+  * debian/rules:
+    + fix FTBFS: move ls call from binary-arch to binary-indep,
+      thanks to Bastian Blank <waldi@debian.org> (Closes: #488811).
+
+ -- Luca Capello <luca@pca.it>  Mon, 07 Jul 2008 00:18:07 +0200
+
+ecl (0.9j-20080306-2) unstable; urgency=low
+
+  * debian/control:
+    + add myself to Uploaders:.
+    + add Vcs-Browser field.
+    + remove trailing spaces from the long Description:.
+    + conflict with common-lisp-controller << 6.15 because of #477169.
+    + correct Info/HTML capitalizations in ecl-doc long Description:.
+    - remove xutils from Build-Depends:.
+    - remove traling empty lines.
+
+  * debian/ecl-doc.doc-base:
+    + new section 'Programming' (thanks to lintian).
+
+  * debian/rules:
+    + fix FTBFS: instead of simply reverting swap of binary-indep
+      and binary-arch targets, create the arch-dependent "ecl"
+      package in binary-arch and the arch-independent "ecl-doc" in
+      binary-indep, thanks to Sebastian Bober <sbober@servercare.de>
+      for the patch (Closes: #471223).
+    + remove trailing spaces.
+    + correct lintian warning debian-rules-ignores-make-clean-error.
+
+ -- Luca Capello <luca@pca.it>  Sun, 15 Jun 2008 19:30:07 +0200
+
+ecl (0.9j-20080306-1) unstable; urgency=low
+
+  * New upstream version.
+  * updated standard version no real changes
+  * added Homepage
+  * Use default gcc (Closes: #463291)
+  * Changed to group maintanance
+  * Corrected Vcs-Git control field
+  * swap binary-indep and binary-arch round
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Fri, 07 Mar 2008 22:13:58 +0100
+
+ecl (0.9i-20070908-1) unstable; urgency=low
+
+  * added Svc line to control file
+  * New upstream.
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Thu, 27 Sep 2007 06:08:29 +0200
+
+ecl (0.9i-20070324-2) unstable; urgency=low
+
+  * Upload to unstable. 
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Mon, 09 Apr 2007 11:51:51 +0200
+
+ecl (0.9i-20070324-1) experimental; urgency=low
+
+  * New upstream version, adds support for Hurd.
+    (Closes: #410374, #410368, #410367)
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Tue, 27 Mar 2007 09:35:49 +0200
+
+ecl (0.9i-20070214-1) experimental; urgency=low
+
+  * new upstream, added GC_total_bytes fix.
+  * updated standard version, no real changes
+  * Fix for the strange FTBFS when unpacked in a path with a space 
+    (Closes: #410009)
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Tue, 27 Feb 2007 11:59:49 +0100
+
+ecl (0.9i-2) unstable; urgency=low
+
+  * added GNU/kFreeBSD support (Closes: #377042)
+  * Use system boehm gc.
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Mon, 24 Jul 2006 19:35:12 +0200
+
+ecl (0.9i-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Sun,  2 Jul 2006 00:20:00 +0200
+
+ecl (0.9h-20060617-1) unstable; urgency=low
+
+  * New upstream version
+  * Updated standards version without real changes. 
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Wed, 21 Jun 2006 09:21:21 +0200
+
+ecl (0.9h-20060510-1) unstable; urgency=low
+
+  * New upstream release.
+  * Did some rpath magic. Should:
+    (Closes: #367415)
+  * Updated doc-base file to include Index
+  * Added removal of ecl and .o files  on upgrade
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Wed, 17 May 2006 02:46:26 +0200
+
+ecl (0.9h-20060322-1) unstable; urgency=low
+
+  * New upstream
+  * Added build libraries and tools also for
+    main package, as it needs gcc and libraries to
+    build a new pacakge. (Closes: #360572)
+  * Build with gcc-4.1  (Closes: #362088)
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Thu, 13 Apr 2006 09:16:16 +0200
+
+ecl (0.9h-20060216-2) unstable; urgency=low
+
+  [René van Bevern]
+  * debian/control:
+    + Build-Depends: add dh-lisp 0.6
+    + Depends: remove common-lisp-controller (>= 5.11), it is
+      automatically added
+    + Provides: remove ${ecl:fasl-version} as it is defined nowhere
+  
+  [Peter Van Eynde]
+  * Expanded copyright file to properly differentate files.
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Sun, 26 Mar 2006 22:49:02 +0200
+
+ecl (0.9h-20060216-1) unstable; urgency=low
+
+  * Initial release. (Closes: #261350)
+
+ -- Peter Van Eynde <pvaneynd@debian.org>  Wed, 11 Jan 2006 15:13:59 +0100
+
--- ecl-9.6.1.orig/debian/install-clc.lisp
+++ ecl-9.6.1/debian/install-clc.lisp
@@ -0,0 +1,28 @@
+;;; -*- Mode: LISP; Package: CL-USER -*-
+;;;
+;;; Copyright (C) Peter Van Eynde 2001-2005 and Kevin Rosenberg 2002-2003
+;;;
+;;; License: LGPL v2
+;;;
+(in-package "COMMON-LISP-USER")
+
+(require :cmp)
+(format t "~%Saving to new-ecl...")
+(load "/usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp"
+      :verbose nil
+      :print nil)
+(let ((files (common-lisp-controller:compile-common-lisp-controller-v5 "ecl")))
+   (format t "~%~%compile done, files: ~S~%" files)
+  (system:gc t)
+  (c:build-program
+   "/usr/bin/ecl"
+   :lisp-files 
+   files
+   :epilogue-code '(progn
+		    (funcall (intern (symbol-name :init-common-lisp-controller-v5)
+				     (find-package :common-lisp-controller))
+			     "ecl")
+		    (when (probe-file #p"/etc/lisp.config")
+		      (load #p"/etc/lisp.config"))
+		    (system:top-level))))
+(quit)
--- ecl-9.6.1.orig/debian/ecl-doc.info
+++ ecl-9.6.1/debian/ecl-doc.info
@@ -0,0 +1,2 @@
+build/doc/ecl.info
+build/doc/ecldev.info
--- ecl-9.6.1.orig/debian/ecl-doc.dirs
+++ ecl-9.6.1/debian/ecl-doc.dirs
@@ -0,0 +1 @@
+usr/share/info
--- ecl-9.6.1.orig/debian/rules
+++ ecl-9.6.1/debian/rules
@@ -0,0 +1,167 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+# FOR AUTOCONF 2.52 AND NEWER ONLY
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+  confflags += --build $(DEB_HOST_GNU_TYPE)
+else
+  confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+#export CC=/usr/bin/gcc-4.1
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	chmod a+x configure \
+	 src/gc/configure \
+	 src/gmp/macos/configure \
+	 src/gmp/configure \
+	 src/configure \
+	 src/gmp/mpn/m4-ccas
+
+	touch src/gc/configure.in src/configure.in && \
+	touch src/gc/aclocal.m4  src/aclocal.m4 && \
+	touch src/configure configure
+
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+	   --prefix=/usr --mandir=\$${prefix}/share/man \
+	   --infodir=\$${prefix}/share/info \
+	   --with-system-gmp=yes \
+	   --with-tcp \
+	   --with-clx  \
+	   --enable-threads=no \
+	   --enable-boehm=system \
+	   --with-x
+	   #--enable-boehm=system
+
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: config.status
+	dh_testdir -a
+
+	$(MAKE)
+
+	touch build-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp: config.status
+	dh_testdir -i
+	$(MAKE) -C build/doc
+	touch build-indep-stamp
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-*-stamp
+	-test -r /usr/share/misc/config.sub && \
+           cp -f /usr/share/misc/config.sub src/gc/config.sub
+	-test -r /usr/share/misc/config.guess && \
+           cp -f /usr/share/misc/config.guess src/gc/config.guess
+	-test -r /usr/share/misc/config.sub && \
+           cp -f /usr/share/misc/config.sub src/config.sub
+	-test -r /usr/share/misc/config.guess && \
+           cp -f /usr/share/misc/config.guess src/config.guess
+	# do this manually on a big change:
+	# autoreconf --force
+	# Add here commands to clean up after the build process.
+	# correct lintian warning debian-rules-ignores-make-clean-error
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f src/gc/configure.in
+
+	rm -rf build
+
+	dh_clean
+
+install: build-arch
+	dh_testdir -a
+	dh_testroot -a
+	dh_prep -a
+	dh_installdirs -a
+
+	# Add here commands to install the package into debian/ecl
+	$(MAKE) install prefix=$(CURDIR)/debian/ecl/usr
+
+	rm $(CURDIR)/debian/ecl/usr/share/doc/LGPL
+	rm $(CURDIR)/debian/ecl/usr/share/doc/Copyright
+
+	rm $(CURDIR)/debian/ecl/usr/share/info/ecl.info \
+	   $(CURDIR)/debian/ecl/usr/share/info/clx.info \
+	   $(CURDIR)/debian/ecl/usr/share/info/ecldev.info
+
+	-rm $(CURDIR)/debian/ecl/usr/share/info/dir \
+	   $(CURDIR)/debian/ecl/usr/share/info/dir.old
+
+	rmdir $(CURDIR)/debian/ecl/usr/share/info
+
+	cp ${CURDIR}/debian/install-clc.lisp $(CURDIR)/debian/ecl/usr/lib/ecl/
+	mv $(CURDIR)/debian/ecl/usr/bin/ecl $(CURDIR)/debian/ecl/usr/lib/ecl/ecl-original
+
+	find $(CURDIR)/debian -name "*.lsp" -print0 | \
+	   xargs -0 chmod a-x || true
+
+	# remove rpath from /us/lib/ecl/ binaries (bug #495756)
+	# this is a workaround until upstream properly fixes it
+	find $(CURDIR)/debian/ecl/usr/lib/ecl/ -name "*.fas" -print0 | \
+	   xargs -0 chrpath -d
+	chrpath -d $(CURDIR)/debian/ecl/usr/lib/ecl/ecl-original
+
+# Build architecture-independent files here.
+binary-indep: build-indep
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdirs -i
+	ls -l $(CURDIR)/debian/ecl-doc/usr/share/info/
+	dh_installdocs -i
+	dh_installchangelogs -i
+	dh_installinfo -v -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-arch install
+	dh_testdir -a
+	dh_testroot -a
+#	dh_installdebconf
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_installmenu -a
+	dh_installman -a
+#	dh_undocumented
+	dh_installchangelogs -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_lisp -a ecl
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install
--- ecl-9.6.1.orig/debian/ecl.sh
+++ ecl-9.6.1/debian/ecl.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+if [ ! -f /usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp ] ; then
+  cat <<EOF
+$0: cannot find the common-lisp-controller source.
+EOF
+  exit 0
+fi
+
+build_error()
+{
+    echo "Build failure $1"
+    exit 1
+}
+
+case $1 in
+    install-clc)
+	    echo $0 loading and dumping clc.
+	    ( cd /tmp
+	      /usr/lib/ecl/ecl-original -load /usr/lib/ecl/install-clc.lisp )
+	    ;;
+    remove-clc)
+	    echo $0 removing clc-enabled image
+	    cp /usr/lib/ecl/ecl-original /usr/bin/ecl
+	    ;;
+    *)
+	    echo $0 unkown command $1
+	    echo known commands: install-clc and remove-clc
+	    exit 1
+	    ;;
+esac
+
+exit 0