summaryrefslogtreecommitdiff
blob: c7cf1cfb3d3b118e1ac3b97ff70e38ab4e57278e (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
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit findlib

DESCRIPTION="A community-maintained standard library extension"
HOMEPAGE="https://github.com/ocaml-batteries-team/batteries-included"
SRC_URI="https://github.com/ocaml-batteries-team/batteries-included/archive/v${PV}.tar.gz
	-> ${P}.tar.gz"

LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test"

DEPEND=""
RDEPEND="${DEPEND}
	dev-ml/num:="
BDEPEND="dev-ml/ocamlbuild"

S="${WORKDIR}"/batteries-included-${PV}

src_install() {
	findlib_src_install
}