incremental_kernel-0.9.0.ebuild 808 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. DESCRIPTION="Library for incremental computations depending only on Core_kernel"
  5. HOMEPAGE="https://github.com/janestreet/incremental_kernel"
  6. SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
  7. LICENSE="Apache-2.0"
  8. SLOT="0/${PV}"
  9. KEYWORDS="~amd64"
  10. IUSE=""
  11. DEPEND="
  12. dev-lang/ocaml:=
  13. dev-ml/core_kernel:=
  14. dev-ml/ppx_driver:=
  15. dev-ml/ppx_jane:=
  16. dev-ml/ocaml-migrate-parsetree:=
  17. <dev-ml/ppx_jane-100
  18. <dev-ml/ppx_driver-100
  19. "
  20. RDEPEND="${DEPEND}"
  21. DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder"
  22. src_install() {
  23. opam-installer -i \
  24. --prefix="${ED}/usr" \
  25. --libdir="${D}/$(ocamlc -where)" \
  26. --docdir="${ED}/usr/share/doc/${PF}" \
  27. ${PN}.install || die
  28. }