gentoo-ebuilds/dev-ml/ocaml-crunch/ocaml-crunch-3.3.1.ebuild
Alfredo Tupone 9e0326568b
dev-ml/ocaml-crunch: new package, add 3.3.1
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2024-07-13 09:42:56 +02:00

24 lines
536 B
Bash

# Copyright 2024 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"