Files
guru/dev-ml/tcpip/tcpip-7.1.0.ebuild
Alessandro Barbieri 3311ec1a9b dev-ml/tcpip: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-04-15 22:34:17 +02:00

53 lines
1006 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MYPN="mirage-${PN}"
DESCRIPTION="TCP/IP networking stack in pure OCaml, using the Mirage platform libraries"
HOMEPAGE="https://github.com/mirage/mirage-tcpip"
SRC_URI="https://github.com/mirage/${MYPN}/releases/download/v${PV}/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
dev-ml/cstruct[lwt,ppx]
dev-ml/mirage-net
dev-ml/mirage-clock
dev-ml/mirage-random
dev-ml/mirage-time
dev-ml/ipaddr[macaddr-cstruct]
dev-ml/mirage-profile
dev-ml/fmt
dev-ml/lwt
dev-ml/lwt-dllist
dev-ml/logs
dev-ml/duration
dev-ml/randomconv
dev-ml/ethernet
dev-ml/arp
dev-ml/mirage-flow
dev-ml/lru
dev-ml/metrics
"
DEPEND="
${RDEPEND}
test? (
dev-ml/mirage-vnetif
dev-ml/alcotest
dev-ml/pcap-format
dev-ml/mirage-clock
dev-ml/mirage-random-test
dev-ml/ipaddr[cstruct]
)
"
BDEPEND="virtual/pkgconfig"
RESTRICT="!test? ( test )"