blob: c0ce3494ec67d921ee2115e23cf875a5ccb6d1d7 (
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
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/abcl-cvs/abcl-cvs-0.ebuild,v 1.4 2006/05/13 04:42:10 dragonheart Exp $
ECVS_SERVER="armedbear-j.cvs.sourceforge.net:/cvsroot/armedbear-j"
if [ -z "${ECVS_BRANCH}" ]; then
ECVS_BRANCH="HEAD"
fi
ECVS_MODULE="j"
ECVS_USER="anonymous"
ECVS_PASS=""
ECVS_CVS_OPTIONS="-dP"
inherit cvs java-pkg eutils
DESCRIPTION="Armed Bear Common Lisp is a Common Lisp implementation for the JVM."
HOMEPAGE="http://armedbear-j.sourceforge.net/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="debug libabcl jpty"
DEPEND="virtual/jdk"
S=${WORKDIR}/${ECVS_MODULE}
src_compile() {
chmod +x ${S}/{configure,mkinstalldirs}
econf --with-jdk=`java-config -O` \
`use_enable debug debug` \
`use_enable libabcl libabcl` \
`use_enable jpty jpty` \
|| die
make || die
}
src_install() {
find ${S} -type d -name CVS -exec rm -rf '{}' \;
java-pkg_dojar j.jar
dohtml doc/*
insinto /usr/share/j
doins -r themes
dobin ${FILESDIR}/{abcl,j}
if use jpty; then
dobin src/jpty/jpty
fi
if use libabcl; then
exeinto /usr/$(get_libdir)/abcl
doexe src/org/armedbear/lisp/libabcl.so
fi
}
|