blob: 7191c03c4e1bb73bd5a3923cbede226b7b773e3c (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-mysql/ocaml-mysql-1.0.3-r1.ebuild,v 1.3 2006/11/23 17:14:59 vivo Exp $
inherit findlib eutils
IUSE="doc"
DESCRIPTION="A package for ocaml that provides access to mysql databases."
SRC_URI="http://raevnos.pennmush.org/code/${PN}/${P}.tar.gz"
HOMEPAGE="http://raevnos.pennmush.org/code/ocaml-mysql/index.html"
DEPEND=">=dev-lang/ocaml-3.06
>=virtual/mysql-4.0"
RDEPEND="$DEPEND"
SLOT="0"
LICENSE="LGPL-2"
KEYWORDS="x86 ppc"
src_compile()
{
epatch ${FILESDIR}/${P}-head.patch
epatch ${FILESDIR}/${P}-shtool-r1.patch
econf || die "configure failed"
make all || die "make failed"
make opt
}
src_install()
{
findlib_src_preinst
make install || die
( use doc ) && dohtml -r doc/html/*
dodoc META COPYING CHANGES README VERSION
}
|