# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit findlib DESCRIPTION="Library for automated conversion of OCaml-values to and from S-expressions" HOMEPAGE="" SRC_URI="http://hg.ocaml.info/release/${PN}310/archive/release-${PV}.tar.bz2" LICENSE="LGPL2" SLOT="0" KEYWORDS="~x86" IUSE="doc" DEPEND=">=dev-lang/ocaml-3.10" RDEPEND="${DEPEND}" S="${WORKDIR}/sexplib310-release-${PV}" src_compile() { emake -j1 } src_install() { findlib_src_preinst emake install || die "make install failed" dodoc README.txt Changelog }