summaryrefslogtreecommitdiff
blob: e76406d8ce7452342b3febb72a249d2c23d39fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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
}