From c96b8630f071b4b6bbae8417a15d1d0d71731b4e Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sat, 2 Apr 2022 22:20:26 +0200 Subject: [PATCH] dev-ml/ipaddr: initial import Signed-off-by: Alessandro Barbieri --- dev-ml/ipaddr/Manifest | 1 + dev-ml/ipaddr/ipaddr-5.0.1-r2.ebuild | 33 ++++++++++++++++++++++++++++ dev-ml/ipaddr/metadata.xml | 12 ++++++++++ 3 files changed, 46 insertions(+) create mode 100644 dev-ml/ipaddr/Manifest create mode 100644 dev-ml/ipaddr/ipaddr-5.0.1-r2.ebuild create mode 100644 dev-ml/ipaddr/metadata.xml diff --git a/dev-ml/ipaddr/Manifest b/dev-ml/ipaddr/Manifest new file mode 100644 index 0000000000..ef471692e5 --- /dev/null +++ b/dev-ml/ipaddr/Manifest @@ -0,0 +1 @@ +DIST ocaml-ipaddr-5.0.1.tar.gz 32964 BLAKE2B cd4f2ba145973c258b564752b3ea5bcd555aae466548d8745bd7a6219dc6d16350698eebcd7994a167e4166cffd822ac7bdc3316e2969a4185cc77d90d7aa267 SHA512 0e7984e2911d2a8aaba8ee28661288e7a1ce87bdb993bd910206e513a40c4fcf7272c73be72295a739f1254ccf9622e8b4aa448db0f599508c1e814020410ec8 diff --git a/dev-ml/ipaddr/ipaddr-5.0.1-r2.ebuild b/dev-ml/ipaddr/ipaddr-5.0.1-r2.ebuild new file mode 100644 index 0000000000..90f8d2b1ad --- /dev/null +++ b/dev-ml/ipaddr/ipaddr-5.0.1-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="OCaml library for manipulation of IP (and MAC) address representations" +HOMEPAGE="https://github.com/mirage/ocaml-ipaddr" +SRC_URI="https://github.com/mirage/ocaml-ipaddr/archive/v${PV}.tar.gz -> ocaml-${P}.tar.gz" +S="${WORKDIR}/ocaml-${P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/cstruct + dev-ml/domain-name + dev-ml/ppx_sexp_conv + dev-ml/sexplib0 +" +DEPEND="${RDEPEND}" + +src_install() { + dune_src_install ipaddr + dune_src_install ipaddr-cstruct + dune_src_install ipaddr-sexp + dune_src_install macaddr + dune_src_install macaddr-cstruct + dune_src_install macaddr-sexp +} diff --git a/dev-ml/ipaddr/metadata.xml b/dev-ml/ipaddr/metadata.xml new file mode 100644 index 0000000000..e54521662e --- /dev/null +++ b/dev-ml/ipaddr/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-ipaddr + +