mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
34 lines
659 B
Bash
34 lines
659 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
|
|
https://opam.ocaml.org/packages/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/menhir:=
|
|
dev-ml/ezjsonm:=
|
|
"
|
|
RDEPEND="
|
|
${DEPEND}
|
|
test? ( dev-ml/ounit2 )
|
|
"
|
|
|
|
RESTRICT="!test? ( test )"
|
|
PATCHES="${FILESDIR}/${P}-ounit2.patch"
|