blob: b14e4d4b058b12ee82670e785aaf536b42e77c74 (
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
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune findlib
DESCRIPTION="Unix client tools for accessing xenstore"
HOMEPAGE="
https://github.com/xapi-project/ocaml-xenstore-clients
https://opam.ocaml.org/packages/xenstore_transport/
"
SRC_URI="https://github.com/xapi-project/ocaml-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ocaml-${P}"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
DEPEND="
dev-ml/lwt:=
dev-ml/xenstore:=
"
RDEPEND="
${DEPEND}
test? ( dev-ml/ounit2 )
"
RESTRICT="!test? ( test )"
PATCHES="${FILESDIR}/${PN}-1.1.0-ounit2.patch"
src_install() {
dune_src_install xenstore_transport
dune_src_install xenstore-tool
}
|