diff options
Diffstat (limited to 'dev-ml/ocurl/ocurl-0.5.1.ebuild')
-rw-r--r-- | dev-ml/ocurl/ocurl-0.5.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-ml/ocurl/ocurl-0.5.1.ebuild b/dev-ml/ocurl/ocurl-0.5.1.ebuild new file mode 100644 index 000000000000..8325fa0e95ee --- /dev/null +++ b/dev-ml/ocurl/ocurl-0.5.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocurl/ocurl-0.5.1.ebuild,v 1.1 2009/06/21 13:26:01 aballier Exp $ + +EAPI=2 + +inherit eutils findlib autotools + +DESCRIPTION="OCaml interface to the libcurl library" +HOMEPAGE="http://sourceforge.net/projects/ocurl" +LICENSE="MIT" +SRC_URI="mirror://sourceforge/ocurl/${P}.tgz" + +SLOT="0" +IUSE="examples" + +DEPEND=">=net-misc/curl-7.9.8 +dev-libs/openssl" +RDEPEND="$DEPEND" +KEYWORDS="~amd64 ~ppc ~x86" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}/${P}-asneeded.patch" + eautoreconf +} + +src_configure() { + econf --with-findlib +} + +src_compile() +{ + emake -j1 all || die +} + +src_install() +{ + findlib_src_install + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} |