summaryrefslogtreecommitdiff
blob: fd7cbb8017d66988ee3c5b8ec3393c1d89670eb4 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ocamlgraph-0.95.ebuild,v 1.2 2006/02/04 22:25:39 mattam Exp $

inherit findlib

DESCRIPTION="O'Caml Graph library"
HOMEPAGE="http://www.lri.fr/~filliatr/ocamlgraph/"
SRC_URI="http://www.lri.fr/~filliatr/ftp/ocamlgraph/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
DEPEND=">=dev-lang/ocaml-3.08
	doc? ( dev-tex/hevea dev-ml/ocamlweb )"
IUSE="doc"

src_compile() {
	econf || die
	emake || die

	if use doc;
	then
		emake doc
	fi
}

src_install() {
	findlib_src_preinst
	make install-findlib || die

	dodoc README COPYING CREDITS FAQ CHANGES
	if use doc;
	then
		dohtml doc/*
	fi
}