diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-06-07 18:44:34 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-06-07 18:44:34 +0000 |
commit | 3748b66eabb0d650f922af10632810948c37a2d2 (patch) | |
tree | fc036da7d8233623b81d2147ff92deec9e07d8f7 /eclass | |
parent | fix digest-ami-1.2.2 (diff) | |
download | gentoo-2-3748b66eabb0d650f922af10632810948c37a2d2.tar.gz gentoo-2-3748b66eabb0d650f922af10632810948c37a2d2.tar.bz2 gentoo-2-3748b66eabb0d650f922af10632810948c37a2d2.zip |
initial import
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/common-lisp.eclass | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/eclass/common-lisp.eclass b/eclass/common-lisp.eclass new file mode 100644 index 000000000000..a5c04d2e23b8 --- /dev/null +++ b/eclass/common-lisp.eclass @@ -0,0 +1,33 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/eclass/common-lisp.eclass,v 1.1 2003/06/07 18:44:34 mkennedy Exp $ +# +# Author Matthew Kennedy <mkennedy@gentoo.org> +# +# This eclass supports the common-lisp-controller installation of many +# Common Lisp libraries + +ECLASS=common-lisp +INHERITED="$INHERITED $ECLASS" + +CLPACKAGE= +DEPEND="dev-lisp/common-lisp-controller" + +pkg_postinst() { + /usr/sbin/register-common-lisp-source $CLPACKAGE +} + +pkg_prerm() { + /usr/sbin/unregister-common-lisp-source $CLPACKAGE +} + +common-lisp-install() { + insinto /usr/share/common-lisp/source/$CLPACKAGE + doins $@ +} + +common-lisp-system-symlink() { + dodir /usr/share/common-lisp/systems + dosym /usr/share/common-lisp/source/$CLPACKAGE/$CLPACKAGE.asd \ + /usr/share/common-lisp/systems/$CLPACKAGE.asd +} |