mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
31 lines
616 B
Bash
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 )"
|