diff options
author | David Seifert <soap@gentoo.org> | 2016-02-14 23:18:19 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-02-14 23:18:41 +0100 |
commit | 9f71bf8cf61c391780f427fb3430142f415550cf (patch) | |
tree | a05fa96a2b15ede2ddaee27c40adf0c56bc5f635 /sci-calculators/orpie | |
parent | dev-ml/gsl-ocaml: New package, successor of dev-ml/ocamlgsl (diff) | |
download | gentoo-9f71bf8cf61c391780f427fb3430142f415550cf.tar.gz gentoo-9f71bf8cf61c391780f427fb3430142f415550cf.tar.bz2 gentoo-9f71bf8cf61c391780f427fb3430142f415550cf.zip |
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
Diffstat (limited to 'sci-calculators/orpie')
-rw-r--r-- | sci-calculators/orpie/orpie-1.5.2-r1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sci-calculators/orpie/orpie-1.5.2-r1.ebuild b/sci-calculators/orpie/orpie-1.5.2-r1.ebuild new file mode 100644 index 000000000000..eaaa9dfb432d --- /dev/null +++ b/sci-calculators/orpie/orpie-1.5.2-r1.ebuild @@ -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 +} |