1 # Copyright 2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit multilib findlib
8 DESCRIPTION="Library for arbitrary-precision integer and rational arithmetic"
9 HOMEPAGE="https://github.com/ocaml/num"
10 SRC_URI="https://github.com/ocaml/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
12 LICENSE="LGPL-2.1-with-linking-exception"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND=">=dev-lang/ocaml-4.09.0
18 >=dev-ml/findlib-1.8.1"
24 OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}"