blob: 16158d521e681a4fb4b19df16dac0849fc74c351 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ulex/ulex-0.5.ebuild,v 1.1 2004/08/08 07:11:03 mattam Exp $
inherit eutils
DESCRIPTION="a lexer generator for unicode"
HOMEPAGE="http://www.cduce.org"
SRC_URI="http://www.cduce.org/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND=">=dev-lang/ocaml-3.08
>=dev-ml/findlib-0.8"
src_compile() {
make all || die
make all.opt || die
}
src_install() {
local destdir=`ocamlfind printconf destdir`
dodir ${destdir}
# dummy ld.conf, packages do not install C libraries
make OCAMLFIND_LDCONF=dummy OCAMLFIND_DESTDIR=${D}${destdir} install || die
dodoc README CHANGES
}
|