forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sci-calculators/orpie: Change dep from dev-ml/ocamlgsl to dev-ml/gsl-…
…ocaml Gentoo-Bug: 574564 Package-Manager: portage-2.2.27 RepoMan-Options: --force
- Loading branch information
1 parent
5acbfd1
commit 9f71bf8
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
inherit 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/gsl-ocaml | ||
sys-libs/ncurses:0= | ||
|| ( <dev-lang/ocaml-4.02 dev-ml/camlp4 )" | ||
RDEPEND="${DEPEND}" | ||
|
||
PATCHES=( | ||
"${FILESDIR}/${PN}-1.5.1-ocaml311.patch" | ||
"${FILESDIR}/${P}-nogsl.patch" | ||
"${FILESDIR}/${PN}-1.5.1-orpierc.patch" | ||
"${FILESDIR}/${PN}-1.5.1-tinfo.patch" | ||
) | ||
|
||
src_prepare() { | ||
default | ||
sed -i -e "s:/usr:${EPREFIX}/usr:g" Makefile.in || die | ||
mv configure.{in,ac} || die | ||
eautoreconf | ||
} | ||
|
||
src_compile() { | ||
# TODO: fix missing edges in dependency graph | ||
emake -j1 | ||
} | ||
|
||
src_install() { | ||
default | ||
if use doc; then | ||
dodoc doc/manual.pdf | ||
docinto html/ | ||
dodoc doc/manual.html | ||
fi | ||
} |