blob: eb285f750783f69effe9a4cd042293161f82c38a (
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
35
36
37
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune
DESCRIPTION="A fullscreen RPN calculator for the console"
HOMEPAGE="http://pessimization.com/software/orpie/"
SRC_URI="https://github.com/pelzlpj/${PN}/archive/release-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt"
DEPEND="dev-ml/gsl-ocaml:=
dev-ml/curses:=
dev-ml/num:=
dev-ml/camlp5":=
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${PN}-release-${PV}
PATCHES=(
"${FILESDIR}"/${P}-orpierc.patch
"${FILESDIR}"/${P}-rcfile.patch
)
src_compile() {
PREFIX=/usr dune_src_compile
}
src_install() {
dune_src_install
mv "${D}"/{/usr,}/etc || die
}
|