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

34 lines
603 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="mustache.js logic-less templates in OCaml"
HOMEPAGE="https://github.com/rgrinberg/ocaml-mustache"
SRC_URI="https://github.com/rgrinberg/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
DEPEND="
dev-ml/jsonm
dev-ml/menhir
dev-ml/cmdliner
"
RDEPEND="
${DEPEND}
test? (
dev-ml/ounit
dev-ml/ezjsonm
)
"
RESTRICT="!test? ( test )"