1 |
commit: d13bcd7d0a21d9796891f96f0ec3666f8b2241f8 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Apr 3 08:09:59 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 3 23:46:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d13bcd7d |
7 |
|
8 |
dev-ml/xen-gnt: initial import |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-ml/xen-gnt/Manifest | 1 + |
13 |
dev-ml/xen-gnt/metadata.xml | 11 +++++++++++ |
14 |
dev-ml/xen-gnt/xen-gnt-4.0.0.ebuild | 31 +++++++++++++++++++++++++++++++ |
15 |
3 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/xen-gnt/Manifest b/dev-ml/xen-gnt/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..c541047b7 |
20 |
--- /dev/null |
21 |
+++ b/dev-ml/xen-gnt/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST xen-gnt-v4.0.0.tbz 11113 BLAKE2B fc96116ad592e5ba64169cbb56c9ff7837fbe512e74185b4b64aae5f37318c41ffa1944596e69c87352e0241de54717aea6ae65d02fe0929616b7be6bf9d2022 SHA512 add0a28fc21bde76cc84b2735efdff1dba1849a95e79cf5946eca9af9c1698a5cc68f0701459631b8eea15b0234942bbeb12e744fef6fccd84e29549303f57d0 |
24 |
|
25 |
diff --git a/dev-ml/xen-gnt/metadata.xml b/dev-ml/xen-gnt/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000..e5f4c8ec9 |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/xen-gnt/metadata.xml |
30 |
@@ -0,0 +1,11 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>lssndrbarbieri@×××××.com</email> |
36 |
+ <name>Alessandro Barbieri</name> |
37 |
+ </maintainer> |
38 |
+ <upstream> |
39 |
+ <remote-id type="github">mirage/ocaml-gnt</remote-id> |
40 |
+ </upstream> |
41 |
+</pkgmetadata> |
42 |
|
43 |
diff --git a/dev-ml/xen-gnt/xen-gnt-4.0.0.ebuild b/dev-ml/xen-gnt/xen-gnt-4.0.0.ebuild |
44 |
new file mode 100644 |
45 |
index 000000000..843fe2e4c |
46 |
--- /dev/null |
47 |
+++ b/dev-ml/xen-gnt/xen-gnt-4.0.0.ebuild |
48 |
@@ -0,0 +1,31 @@ |
49 |
+# Copyright 1999-2022 Gentoo Authors |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+ |
52 |
+EAPI=8 |
53 |
+ |
54 |
+inherit dune |
55 |
+ |
56 |
+DESCRIPTION="OCaml bindings to the Xen grant tables libraries" |
57 |
+HOMEPAGE="https://github.com/mirage/ocaml-gnt" |
58 |
+SRC_URI="https://github.com/mirage/ocaml-gnt/releases/download/v${PV}/${PN}-v${PV}.tbz" |
59 |
+S="${WORKDIR}/${PN}-v${PV}" |
60 |
+ |
61 |
+LICENSE="ISC" |
62 |
+SLOT="0/${PV}" |
63 |
+KEYWORDS="~amd64" |
64 |
+IUSE="ocamlopt" |
65 |
+ |
66 |
+DEPEND=" |
67 |
+ dev-ml/cstruct |
68 |
+ dev-ml/cmdliner |
69 |
+ <=dev-ml/io-page-2.2.0 |
70 |
+ dev-ml/lwt |
71 |
+ dev-ml/lwt-dllist |
72 |
+ dev-ml/mirage-profile |
73 |
+" |
74 |
+RDEPEND="${DEPEND}" |
75 |
+ |
76 |
+src_install() { |
77 |
+ dune_src_install xen-gnt |
78 |
+ dune_src_install xen-gnt-unix |
79 |
+} |