summaryrefslogtreecommitdiff
blob: 9c990c58cbb8d289f591a76d5ca81d9d116702da (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/res/res-2.1.1.ebuild,v 1.3 2004/09/30 18:36:25 mattam Exp $

inherit findlib

DESCRIPTION="Resizable Array and Buffer modules for O'Caml"
HOMEPAGE="http://www.oefai.at/~markus/home/ocaml_sources.html"
SRC_URI="http://www.oefai.at/~markus/ocaml_sources/${P}.tar.bz2"
LICENSE="LGPL-2.1"

DEPEND=">=dev-lang/ocaml-3.07"
SLOT="0"
KEYWORDS="x86 ppc amd64"
IUSE="doc"

src_compile() {
	emake all || die

	if use doc; then
		cd lib && make htdoc
	fi
}

src_install () {
	findlib_src_install

	# install documentation
	dodoc LICENSE README TODO VERSION Changes

	if use doc; then
		dohtml lib/doc/html/*
	fi
}