1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
11 DESCRIPTION="Path-based dispatching for client- and server-side applications"
12 HOMEPAGE="https://github.com/inhabitedtype/ocaml-dispatch"
13 SRC_URI="https://github.com/inhabitedtype/ocaml-dispatch/archive/${PV}.tar.gz -> ${P}.tar.gz"
21 javascript? ( dev-ml/js_of_ocaml:=[ppx,ocamlopt?] )
22 dev-ml/result:=[ocamlopt?]
26 test? ( dev-ml/ounit[ocamlopt?] )
32 oasis_configure_opts="$(use_enable javascript js-of-ocaml)" \