diff --git a/dev-ml/tuntap/Manifest b/dev-ml/tuntap/Manifest new file mode 100644 index 0000000000..018771f9ef --- /dev/null +++ b/dev-ml/tuntap/Manifest @@ -0,0 +1 @@ +DIST tuntap-v2.0.0.tbz 10494 BLAKE2B 9599c8c6ff3abd10e942967c965ea1579cb10f4db2edebc078ecdc3410f9629c6f6de7d5e6bd4ce273918d4f3ac5190ef5e6e06b000808b0fabb26a7ce080ad5 SHA512 e3bf0379906b5070ae5681ae74a1a74b9b987d1f37ff142fb10622d79db8df435c9db54a2d4d5d4dadaeab9aa9427b1d40262dbf445a88b3c3fe64bc93417647 diff --git a/dev-ml/tuntap/metadata.xml b/dev-ml/tuntap/metadata.xml new file mode 100644 index 0000000000..271e2046e6 --- /dev/null +++ b/dev-ml/tuntap/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-tuntap + + diff --git a/dev-ml/tuntap/tuntap-2.0.0.ebuild b/dev-ml/tuntap/tuntap-2.0.0.ebuild new file mode 100644 index 0000000000..de13a22e9f --- /dev/null +++ b/dev-ml/tuntap/tuntap-2.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Bindings to UNIX tuntap facilities" +HOMEPAGE="https://github.com/mirage/ocaml-tuntap" +SRC_URI="https://github.com/mirage/ocaml-${PN}/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/cmdliner + dev-ml/ipaddr +" +DEPEND=" + ${RDEPEND} + sys-kernel/linux-headers +"