# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-calculators/orpie/orpie-1.4.3-r1.ebuild,v 1.2 2007/01/08 15:35:23 markusle Exp $ inherit flag-o-matic DESCRIPTION="A fullscreen RPN calculator for the console" HOMEPAGE="http://www.eecs.umich.edu/~pelzlpj/orpie/" SRC_URI="http://www.eecs.umich.edu/~pelzlpj/orpie/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="dev-lang/ocaml sci-libs/gsl sys-libs/ncurses" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-quote-down-crash.patch epatch "${FILESDIR}"/${PN}-ocaml-gentoo.patch } src_install() { make install DESTDIR=${D} dodoc ChangeLog dodoc doc/TODO insinto /usr/share/doc/${PF} doins doc/manual.pdf doins doc/manual.html }