Files
guru/dev-ml/crc/crc-2.1.0.ebuild
Alessandro Barbieri 18495cbe17 dev-ml/crc: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-04-15 22:34:19 +02:00

31 lines
616 B
Bash

# 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 )"