# 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.4 2003/10/14 03:07:44 mkennedy Exp $ # # Author Matthew Kennedy # # This eclass supports the common-lisp-controller installation of many # Common Lisp libraries inherit common-lisp-common ECLASS=common-lisp INHERITED="$INHERITED $ECLASS" CLPACKAGE= newdepend "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/`dirname $CLPACKAGE` if [ $# -eq 0 ]; then dosym /usr/share/common-lisp/source/$CLPACKAGE/$CLPACKAGE.asd \ /usr/share/common-lisp/systems/$CLPACKAGE.asd else for p in $@ ; do dosym /usr/share/common-lisp/source/$CLPACKAGE/$p.asd \ /usr/share/common-lisp/systems/$p.asd done fi } # Local Variables: *** # mode: shell-script *** # tab-width: 4 *** # End: ***