# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 EAPI="2" inherit findlib DESCRIPTION="Library for automated conversion of OCaml-values to and from S-expressions" HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html" SRC_URI="http://www.janestreet.com/ocaml/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND=">=dev-lang/ocaml-3.11[ocamlopt] dev-ml/type-conv" RDEPEND="${DEPEND}" src_compile() { cd ${PN} emake || die "make failed" } src_install() { cd ${PN} findlib_src_preinst emake install || die "install failed" dodoc README Changelog }