mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
31 lines
573 B
Bash
31 lines
573 B
Bash
# Copyright 2020-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit dune
|
|
|
|
MY_P="${PN}-v${PV}"
|
|
|
|
DESCRIPTION="Embed typed ASN.1 grammars in OCaml"
|
|
HOMEPAGE="https://github.com/mirleft/ocaml-asn1-combinators"
|
|
SRC_URI="https://github.com/mirleft/ocaml-${PN}/releases/download/v${PV}/${MY_P}.tbz"
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
LICENSE="ISC"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64"
|
|
IUSE="ocamlopt test"
|
|
|
|
RDEPEND="
|
|
dev-ml/cstruct
|
|
dev-ml/ptime
|
|
dev-ml/zarith
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
test? ( dev-ml/alcotest )
|
|
"
|
|
|
|
RESTRICT="!test? ( test )"
|