summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators/orpie/orpie-1.5.1-r1.ebuild')
-rw-r--r--sci-calculators/orpie/orpie-1.5.1-r1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/sci-calculators/orpie/orpie-1.5.1-r1.ebuild b/sci-calculators/orpie/orpie-1.5.1-r1.ebuild
new file mode 100644
index 000000000000..c1bce7cabd45
--- /dev/null
+++ b/sci-calculators/orpie/orpie-1.5.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils autotools
+
+DESCRIPTION="A fullscreen RPN calculator for the console"
+HOMEPAGE="http://pessimization.com/software/orpie/"
+SRC_URI="http://pessimization.com/software/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+DEPEND="dev-ml/ocamlgsl
+ sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ocaml311.patch
+ epatch "${FILESDIR}"/${P}-nogsl.patch
+ epatch "${FILESDIR}"/${P}-orpierc.patch
+ epatch "${FILESDIR}"/${P}-tinfo.patch
+ sed -i -e "s:/usr:${EPREFIX}/usr:g" Makefile.in || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ use doc && dodoc doc/manual.pdf && dohtml doc/manual.html
+}