blob: 9a13f2d8a80448a5607b1d192cb82de723398b05 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# 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
}
|