aboutsummaryrefslogtreecommitdiff
blob: 4c7ecec5d9f7bd11bf5d0be79fdbca217b1e5340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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="Address resolution protocol (ARP) implementation in OCaml"
HOMEPAGE="https://github.com/mirage/arp"
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 test"

RDEPEND="
	dev-ml/cstruct:=
	dev-ml/ipaddr:=
	dev-ml/logs:=
	dev-ml/mirage-time:=
	dev-ml/lwt:=
	dev-ml/duration:=
	dev-ml/mirage-profile:=
	dev-ml/ethernet:=
"
DEPEND="
	${RDEPEND}
	test? (
		dev-ml/mirage-random
		dev-ml/mirage-random-test
		dev-ml/alcotest
		dev-ml/fmt
		dev-ml/mirage-vnetif
		dev-ml/mirage-clock
		dev-ml/mirage-clock-unix
		dev-ml/mirage-time[unix]
		dev-ml/mirage-flow
	)
"

RESTRICT="!test? ( test )"