Note that in the following text, each occurence of implementation is to be replaced by the same name of the implementation in question.
Each Common Lisp implementation in Debian must provide the definitions of the Common Lisp Controller after startup. Their presence is required in non-interactive as well as interactive execution of the implementation. See Common Lisp Controller Setup, Section 1.2.
The implementation must load /etc/lisp-config.lisp.
Implementations must provide a script located at
/usr/lib/common-lisp/bin/implementation.sh
that takes at least the following arguments:
The following actions are optional:
See Libraries, Chapter 3 for meanings of destination-dir and asdf-system-name. Installation of this script can be handled by the Debhelper for Common Lisp, see Common Lisp Debhelper, Chapter 4.
The following actions are required:
postinst/usr/sbin/register-common-lisp-implementation
implementation when called with the configure argument
and invokes /usr/sbin/unregister-common-lisp-implementation
implementation when called with the abort-upgrade,
abort-remove or abort-deconfigure argument.
prerm/usr/sbin/unregister-common-lisp-implementation
implementation when called with the remove,
upgrade or deconfigure argument.
The Common Lisp Debhelper (see Common Lisp Debhelper, Chapter 4) generates these scripts automatically.
Common Lisp in Debian Manual
René van Bevernrvb@debian.org