# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-sci/coq/coq-7.4.ebuild,v 1.3 2004/04/07 19:33:34 vapier Exp $ inherit eutils DESCRIPTION="Coq is a proof assistant written in O'Caml" HOMEPAGE="http://coq.inria.fr/" SRC_URI="ftp://ftp.inria.fr/INRIA/${PN}/V${PV}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="x86 ppc" IUSE="norealanalysis" DEPEND=">=dev-lang/ocaml-3.06" src_compile() { local myconf="--prefix /usr \ --bindir /usr/bin \ --libdir /usr/lib/coq \ --mandir /usr/man \ --emacslib /usr/share/emacs/site-lisp" use norealanalysis \ && myconf="$myconf --reals" \ || myconf="$myconf --reals all" has_version ">=dev-lang/ocaml-3.07" && epatch ${FILESDIR}/ocaml-3.07.patch ./configure $myconf || die emake world || die } src_install() { make COQINSTALLPREFIX=${D} install || die dodoc README CREDITS CHANGES }