dev-ml/ipaddr: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-02 22:20:26 +02:00
parent dea8c9623c
commit c96b8630f0
3 changed files with 46 additions and 0 deletions

1
dev-ml/ipaddr/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST ocaml-ipaddr-5.0.1.tar.gz 32964 BLAKE2B cd4f2ba145973c258b564752b3ea5bcd555aae466548d8745bd7a6219dc6d16350698eebcd7994a167e4166cffd822ac7bdc3316e2969a4185cc77d90d7aa267 SHA512 0e7984e2911d2a8aaba8ee28661288e7a1ce87bdb993bd910206e513a40c4fcf7272c73be72295a739f1254ccf9622e8b4aa448db0f599508c1e814020410ec8

View File

@@ -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
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">mirage/ocaml-ipaddr</remote-id>
</upstream>
</pkgmetadata>