diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-calculators/orpie/orpie-1.5.2-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-calculators/orpie/orpie-1.5.2-r1.ebuild')
-rw-r--r-- | sci-calculators/orpie/orpie-1.5.2-r1.ebuild | 47 |
1 files changed, 47 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..c05d7738acd2 --- /dev/null +++ b/sci-calculators/orpie/orpie-1.5.2-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 ~x86" +IUSE="doc" + +DEPEND="dev-ml/gsl-ocaml + sys-libs/ncurses:0= + dev-ml/camlp4" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.5.1-ocaml311.patch" + "${FILESDIR}/${PN}-1.5.2-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() { + if use doc; then + dodoc doc/manual.pdf + HTML_DOCS=( doc/manual.html ) + fi + default +} |