summaryrefslogtreecommitdiff
blob: 46865cb1b3864b28c3b6fe6d3601f7a2ca3f652d (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocurl/ocurl-0.2.1.ebuild,v 1.3 2007/08/12 22:14:44 opfer Exp $

inherit eutils findlib

DESCRIPTION="OCaml interface to the libcurl library"
HOMEPAGE="http://sourceforge.net/projects/ocurl"
LICENSE="MIT"
SRC_URI="mirror://sourceforge/ocurl/${P}.tar.gz"

SLOT="0"
IUSE="doc"

DEPEND=">=net-misc/curl-7.9.8
dev-libs/openssl"
RDEPEND="$DEPEND"
KEYWORDS="~amd64 ppc x86"

src_compile()
{
	econf --with-findlib || die
	emake -j1 all || die
}

src_install()
{
	findlib_src_install
	dodoc COPYING
	use doc && dodoc examples/*.ml
}