blob: 3949cf8e36287c7085c86abbc86e8eae23be8daa (
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-2003 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.2 2003/02/13 10:54:44 vapier 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"
DEPEND="dev-lang/ocaml"
S="${WORKDIR}/${P}"
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/*
}
|