blob: b397c637c0913252e4d5682dc201d91d92bd9f5e (
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
|
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Access C-like structures directly from OCaml"
HOMEPAGE="https://github.com/mirage/ocaml-cstruct"
SRC_URI="https://github.com/mirage/ocaml-cstruct/releases/download/v${PV}/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
BDEPEND="test? (
dev-ml/alcotest
dev-ml/cppo
dev-ml/ocaml-migrate-parsetree
dev-ml/ppx_sexp_conv
dev-ml/ppxlib
dev-ml/sexplib
)
"
src_compile() {
dune-compile ${PN}
}
|