blob: 0bcba9902e4b119d463bd43365c5949657d6aaa9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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.3 2003/07/22 04:47:33 george 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=
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
}
|