dev-ml/tuntap: update HOMEPAGE

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-20 23:54:04 +02:00
parent 50f5f44aea
commit dac9d627ff
2 changed files with 35 additions and 4 deletions

View File

@@ -0,0 +1,25 @@
diff --git a/test/dune b/test/dune
index 951a008..9d86605 100644
--- a/test/dune
+++ b/test/dune
@@ -1,6 +1,6 @@
(executables
(names getifaddrs_test nonblock_read open_close_test set_ipv4_test nonblock_test sendfd_test)
- (libraries lwt.unix tuntap macaddr ipaddr oUnit))
+ (libraries lwt.unix tuntap macaddr ipaddr ounit2))
(alias
(name runtest)
diff --git a/tuntap.opam b/tuntap.opam
index 08002b2..87148c1 100644
--- a/tuntap.opam
+++ b/tuntap.opam
@@ -27,7 +27,7 @@ depends: [
"ipaddr" {>= "5.0.0"}
"macaddr" {>= "4.0.0"}
"cmdliner"
- "ounit" {with-test}
+ "ounit2" {with-test}
"lwt" {with-test & >= "5.0.0"}
]
build: [

View File

@@ -8,20 +8,26 @@ inherit dune
MY_P="${PN}-v${PV}"
DESCRIPTION="Bindings to UNIX tuntap facilities"
HOMEPAGE="https://github.com/mirage/ocaml-tuntap"
HOMEPAGE="
https://github.com/mirage/ocaml-tuntap
https://opam.ocaml.org/packages/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"
IUSE="ocamlopt test"
RDEPEND="
dev-ml/cmdliner
dev-ml/ipaddr
dev-ml/cmdliner:=
>=dev-ml/ipaddr-5.0.0:=
"
DEPEND="
${RDEPEND}
sys-kernel/linux-headers
test? ( >=dev-ml/lwt-5.0.0 )
"
RESTRICT="!test? ( test )"