EAPI="2" inherit findlib eutils IUSE="doc" DESCRIPTION="A package for ocaml that provides bindings to the gsl library." SRC_URI="http://oandrieu.nerim.net/ocaml/gsl/${P}.tar.gz" HOMEPAGE="http://oandrieu.nerim.net/ocaml/gsl/" DEPEND=">=dev-lang/ocaml-3.10 >=sci-libs/gsl-1.9" RDEPEND="${DEPEND}" SLOT="0" LICENSE="GPL2" KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" src_prepare() { epatch "${FILESDIR}/ocaml-3.11.patch" } src_install() { findlib_src_preinst emake install-findlib || die "make install failed" dodoc README NEWS NOTES doinfo *.info* use doc && dohtml doc/* }