# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit eutils EAPI="1" DESCRIPTION="OCaml tags generator" HOMEPAGE="http://www.cs.ru.nl/~tews/otags/" SRC_URI="http://www.cs.ru.nl/~tews/otags/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" DEPEND=">=dev-lang/ocaml-3.09 dev-ml/camlp5" S="${WORKDIR}/${P}" src_compile() { echo "${S}" cd "${S}" epatch "${FILESDIR}/version.patch" ./configure --prefix /usr emake all || die "compilation failed" } src_install() { cd "${S}" emake BINDIR="${D}/usr/bin" INSTALLLIBDIR="${D}/usr/lib/ocaml" install || die "emake install failed" #emake install || die "emake install failed" }