dev-ml/qmp: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-09 11:56:35 +02:00
parent 0e99d4434c
commit 5bc0d9ac2b
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MYPN="ocaml-${PN}"
DESCRIPTION="A Qemu Message Protocol (QMP) client in OCaml"
HOMEPAGE="https://github.com/xapi-project/ocaml-qmp"
SRC_URI="https://github.com/xapi-project/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
DEPEND="
dev-ml/base-unix
dev-ml/yojson
dev-ml/cmdliner
"
RDEPEND="
${DEPEND}
test? ( dev-ml/ounit )
"
RESTRICT="!test? ( test )"