summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-crunch/ocaml-crunch-4.0.0.ebuild
blob: 5b638d195fc36fb6f4add73da2324e159525ba3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
DUNE_PKG_NAME=crunch
inherit dune

DESCRIPTION="Convert a filesystem into a static OCaml module"
HOMEPAGE="https://github.com/mirage/ocaml-crunch"
SRC_URI="https://github.com/mirage/${PN}/archive/refs/tags/v${PV}.tar.gz
	-> ${P}.tar.gz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+ocamlopt"
RESTRICT="test"

DEPEND="
	dev-ml/cmdliner:=[ocamlopt?]
	dev-ml/ptime:=[ocamlopt?]
"
RDEPEND="${DEPEND}"
BDEPEND=">=dev-ml/dune-2.5"