blob: b96ec35a6458374fe309978e04cf0bd1d5e4c036 (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/extlib-1.2.ebuild,v 1.2 2005/02/06 15:47:19 mattam Exp $
inherit findlib
MY_P=extLib-${PV}
DESCRIPTION="Standard library extensions for O'Caml"
HOMEPAGE="http://ocaml-lib.sourceforge.net/"
SRC_URI="mirror://sourceforge/ocaml-lib/${MY_P}.tgz"
LICENSE="LGPL-2.1"
DEPEND=">=dev-lang/ocaml-3.07"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE="doc"
S=${WORKDIR}/${MY_P}
src_compile() {
sed -i -e "s/IOO//" Makefile
make all opt
if use doc; then
make doc
fi
}
src_install () {
findlib_src_install
# install documentation
dodoc README.txt
if use doc; then
dohtml doc/*
fi
}
|