blob: ff83528eaef0f209a33c968a5b5ec381e35fa7d9 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild,v 1.1 2004/11/08 02:55:44 mkennedy Exp $
inherit common-lisp eutils
DESCRIPTION="Zebu is a Library for LALR(1) parser generation."
HOMEPAGE="http://www.cliki.net/Zebu"
SRC_URI="http://constantly.at/lisp/zebu-${PV}-asdf.tgz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="-*"
IUSE=""
DEPEND="virtual/commonlisp
dev-lisp/cl-ppcre"
CLPACKAGE='zebu zebu-rr zebu-compiler'
S=${WORKDIR}/zebu-${PV}
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${PV}-zebu-compiler-gentoo.patch
rm ${S}/{zebu-mg.tab,zmg-dom.lisp}
}
src_install() {
dodir ${CLSYSTEMROOT}
for system in ${CLPACKAGE}; do
insinto ${CLSOURCEROOT}/${system}/
doins *.{lisp,zb} ${system}.asd
dosym ${CLSOURCEROOT}/${system}/${system}.asd ${CLSYSTEMROOT}/
done
dohtml examples.html
dodoc COPYRIGHT ChangeLog README* doc/Zebu_intro.ps
}
# TODO: (see zebu-loader.lisp)
#
# Build error: error opening #P"/usr/share/common-lisp/source/zebu-compiler/zmg-dom.lisp":
# Permission denied
# Build failure
|