1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Camomile is a comprehensive Unicode library for ocaml"
9 HOMEPAGE="https://github.com/yoriyuki/Camomile/wiki"
10 SRC_URI="https://github.com/yoriyuki/Camomile/releases/download/rel-${PV}/${P}.tar.bz2"
14 KEYWORDS="amd64 ppc x86"
15 IUSE="debug +ocamlopt"
18 >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
24 has_version '>=dev-lang/ocaml-4.05_beta' && epatch "${FILESDIR}/ocaml405.patch"
28 econf $(use_enable debug)
32 emake -j1 byte unidata unimaps charmap_data locale_data
40 findlib_src_install DATADIR="${D}/usr/share" BINDIR="${D}/usr/bin"