blob: b1d9ef8520d2d8b1e7e90f9d590503c6b2daf7bd (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/findlib-0.8.ebuild,v 1.7 2004/05/28 20:39:00 kugelfang Exp $
IUSE=""
DESCRIPTION="OCaml tool to find/use non-standard packages."
HOMEPAGE="http://www.ocaml-programming.de/programming/download-caml.html"
SRC_URI="http://www.ocaml-programming.de/packages/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc ~sparc -amd64"
DEPEND="dev-lang/ocaml"
src_compile() {
./configure -bindir /usr/bin -mandir /usr/share/man \
-sitelib /usr/lib/ocaml/site-packages/ \
-config /usr/lib/ocaml/site-packages/findlib/findlib.conf || die "configure failed"
make all || die
make opt || die # optimized code
}
src_install() {
make PREFIX=${D} install || die
cd ${S}/doc
dodoc QUICKSTART README
dohtml html/*
}
|