dev-ml/rpc new package

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-02 22:27:05 +02:00
parent 9d2489023b
commit d56e5336d8
3 changed files with 56 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST rpclib-8.1.2.tbz 73664 BLAKE2B c3a953fcc82dadcb4d2864bd044c32f9a74edadd351af8d4dc1a9c8d84964017e716415ca1831c1a5621dc28dc0a1db60a919f3e2f95d236b1d2d614ea6756a8 SHA512 ef75ec6032805b08bd49716d5e9a4ca888c1a581b50e4ad5cc1d003cd182a47cfc87c945e7564251c8e041fc3ffa1b11e0579597fc9806db88955b3e029ba4a3

11
dev-ml/rpc/metadata.xml Normal file
View File

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

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MY_P="rpclib-${PV}"
DESCRIPTION="Light library to deal with RPCs in OCaml"
HOMEPAGE="https://github.com/mirage/ocaml-rpc"
SRC_URI="https://github.com/mirage/ocaml-${PN}/releases/download/${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
DEPEND="
dev-ml/async
dev-ml/ocaml-base64
dev-ml/cmdliner
dev-ml/cow
dev-ml/js_of_ocaml
dev-ml/lwt
dev-ml/ppxlib
dev-ml/result
dev-ml/rresult
dev-ml/xmlm
dev-ml/yojson
"
RDEPEND="${DEPEND}"
BDEPEND="app-text/md2mld"
src_install() {
dune_src_install ppx_deriving_rpc
dune_src_install rpc
dune_src_install rpclib-async
dune_src_install rpclib-html
dune_src_install rpclib-js
dune_src_install rpclib-lwt
dune_src_install rpclib
}