dev-ml/ethernet: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-07 00:35:05 +02:00
parent 33bb5c93d1
commit dc14a3ebc9
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
# 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="OCaml Ethernet (IEEE 802.3) layer"
HOMEPAGE="https://github.com/mirage/ethernet"
SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RDEPEND="
dev-ml/mirage-net
dev-ml/ipaddr
dev-ml/mirage-profile
dev-ml/lwt
dev-ml/logs
>=dev-ml/cstruct-6.0.0[ppx]
"
DEPEND="${RDEPEND}"