dev-ml/crc: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-09 12:22:01 +02:00
parent 984a493a65
commit 18495cbe17
3 changed files with 42 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST crc-2.1.0.tar.gz 6889 BLAKE2B 10ef45c0c66bea7fcc13d177d23efa28862b79650529791f95867dc203e671cdc60f8b138d74bdd1f02c96ebf4bb67c02ab7cfd39197b9bc387652af76b75bab SHA512 136370780a6ae020d596aa5f16133a7038beaa41bf770153e789ab4a1aa678d36b646b8c9ba81a642d1e6c067e3999dd84d81bccc3245ba9798c75b7ff7396a8

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MYPN="ocaml-${PN}"
DESCRIPTION="Library for finding the CRC of parts of various kinds of data in-place"
HOMEPAGE="https://github.com/xapi-project/ocaml-crc"
SRC_URI="https://github.com/xapi-project/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
DEPEND="
dev-ml/cstruct
dev-ml/rpc
dev-ml/ppx_sexp_conv
"
RDEPEND="
${DEPEND}
test? ( dev-ml/ounit )
"
RESTRICT="!test? ( test )"

11
dev-ml/crc/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">xapi-project/ocaml-crc</remote-id>
</upstream>
</pkgmetadata>