1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools findlib
8 DESCRIPTION="OCaml hash-consing library"
9 HOMEPAGE="https://github.com/backtracking/ocaml-hashcons"
10 SRC_URI="https://github.com/backtracking/ocaml-hashcons/archive/${PV}.tar.gz -> ${P}.tar.gz"
12 LICENSE="LGPL-2.1-with-linking-exception"
17 RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
22 sed -i -e 's/$(OCAMLFIND) remove/#/' Makefile.in || die
34 dodir "$(ocamlfind printconf destdir)/hashcons"
35 emake DESTDIR="-destdir ${D}/$(ocamlfind printconf destdir)/" $(usex ocamlopt install-opt install-byte)
36 dodoc README.md CHANGES