gentoo/dev-ml/atd/atd-2.16.0-r1.ebuild
Maciej Barć ca52f79efa
dev-ml/atd: install whole atd stack
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2025-10-17 23:51:05 +02:00

54 lines
769 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Static types for JSON APIs"
HOMEPAGE="https://github.com/ahrefs/atd/"
SRC_URI="https://github.com/ahrefs/atd/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt"
RESTRICT="test"
RDEPEND="
dev-ml/biniou:=
dev-ml/cmdliner:=
dev-ml/easy-format:=
dev-ml/menhir:=
dev-ml/re:=
dev-ml/yojson:=
"
DEPEND="
${RDEPEND}
"
DUNE_PACKAGES=(
atd
atdgen
atdgen-codec-runtime
atdgen-runtime
atdj
atdpy
atds
atdts
)
src_compile() {
dune-compile "${DUNE_PACKAGES[@]}"
}
src_test() {
nonfatal dune_src_test
}
src_install() {
dune-install "${DUNE_PACKAGES[@]}"
einstalldocs
}