mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
dev-ml/xen-gnt: add 4.0.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST xen-gnt-4.0.1.tbz 11525 BLAKE2B ff979644451edf867251a16e855760adfa90d248f6cf74d45271072d0e0cdda84c8d1263478670a4e013e846993d9f7b9e8bdbf8dee2ec5e48365131427127c6 SHA512 24d34dc8d21eb65a0ead77b47a772120c084844732d3c4243aa7a6b61a269668c380eb8e625faf06d7d53fe69fc986cc19caec9a188717bdcf850ddee968f839
|
||||
DIST xen-gnt-v4.0.0.tbz 11113 BLAKE2B fc96116ad592e5ba64169cbb56c9ff7837fbe512e74185b4b64aae5f37318c41ffa1944596e69c87352e0241de54717aea6ae65d02fe0929616b7be6bf9d2022 SHA512 add0a28fc21bde76cc84b2735efdff1dba1849a95e79cf5946eca9af9c1698a5cc68f0701459631b8eea15b0234942bbeb12e744fef6fccd84e29549303f57d0
|
||||
|
||||
49
dev-ml/xen-gnt/xen-gnt-4.0.0.ebuild
Normal file
49
dev-ml/xen-gnt/xen-gnt-4.0.0.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MYP="${PN}-v${PV}"
|
||||
|
||||
inherit dune multiprocessing
|
||||
|
||||
DESCRIPTION="OCaml bindings to the Xen grant tables libraries"
|
||||
HOMEPAGE="
|
||||
https://github.com/mirage/ocaml-gnt
|
||||
https://opam.ocaml.org/packages/xen-gnt/
|
||||
"
|
||||
SRC_URI="https://github.com/mirage/ocaml-gnt/releases/download/v${PV}/${MYP}.tbz"
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt test unix"
|
||||
|
||||
DEPEND="
|
||||
>=dev-ml/cstruct-1.0.1:=
|
||||
dev-ml/cmdliner:=
|
||||
>=dev-ml/io-page-2.0.0:=[unix(-)?]
|
||||
dev-ml/lwt:=
|
||||
dev-ml/lwt-dllist:=
|
||||
>=dev-ml/mirage-profile-0.3:=
|
||||
|
||||
unix? ( app-emulation/xen )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="test? ( unix )"
|
||||
|
||||
src_compile() {
|
||||
local pkgs="xen-gnt"
|
||||
if use unix ; then
|
||||
pkgs="${pkgs},xen-gnt-unix"
|
||||
fi
|
||||
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dune_src_install xen-gnt
|
||||
use unix && dune_src_install xen-gnt-unix
|
||||
}
|
||||
Reference in New Issue
Block a user