# Copyright 2016 Julian Ospald # Distributed under the terms of the GNU General Public License v2 require github [ user="ocaml" ] SUMMARY="A generic build tool, that has built-in rules for building OCaml library and programs" LICENCES="LGPL-2.1" SLOT="0" PLATFORMS="~amd64 ~x86" MYOPTIONS="" DEPENDENCIES=" build: dev-ocaml/findlib build+run: dev-lang/ocaml[>=4.03.0] " src_configure() { emake configure } src_install() { emake \ DESTDIR="${IMAGE}" \ BINDIR="/usr/$(exhost --target)/bin" \ PREFIX="/usr" \ CHECK_IF_PREINSTALLED=false \ install }