diff options
Diffstat (limited to 'dev-ml/ocurl/ocurl-0.6.1.ebuild')
-rw-r--r-- | dev-ml/ocurl/ocurl-0.6.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ml/ocurl/ocurl-0.6.1.ebuild b/dev-ml/ocurl/ocurl-0.6.1.ebuild new file mode 100644 index 000000000000..1b1d8619146b --- /dev/null +++ b/dev-ml/ocurl/ocurl-0.6.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit findlib + +DESCRIPTION="OCaml interface to the libcurl library" +HOMEPAGE="http://forge.ocamlcore.org/projects/ocurl/" +LICENSE="MIT" +SRC_URI="https://forge.ocamlcore.org/frs/download.php/1374/${P}.tgz" + +SLOT="0/${PV}" +IUSE="examples" + +RDEPEND=">=net-misc/curl-7.9.8 + >=dev-lang/ocaml-3.12:=[ocamlopt]" +DEPEND="${RDEPEND} + virtual/pkgconfig" +KEYWORDS="amd64 ppc" + +src_compile() +{ + emake -j1 all +} + +src_install() +{ + findlib_src_install + dodoc CHANGES.txt README + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} |