Package-Manager: Portage-2.3.10, Repoman-2.3.3
EAPI=6
-inherit findlib
+inherit findlib opam
DESCRIPTION="User interface widgets for Ocsigen applications"
HOMEPAGE="https://github.com/ocsigen/ocsigen-toolkit"
dev-ml/ppx_deriving:=
dev-ml/calendar:=
dev-ml/lwt:="
-DEPEND="${RDEPEND}
- dev-ml/opam"
+DEPEND="${RDEPEND}"
src_compile() {
emake \
src_install() {
findlib_src_preinst
OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- ${PN}.install || die
+ opam_src_install
dodoc README.md
}
EAPI=6
-inherit findlib
+inherit findlib opam
DESCRIPTION="User interface widgets for Ocsigen applications"
HOMEPAGE="https://github.com/ocsigen/ocsigen-toolkit"
dev-ml/ppx_deriving:=
dev-ml/calendar:=
dev-ml/lwt:="
-DEPEND="${RDEPEND}
- dev-ml/opam"
+DEPEND="${RDEPEND}"
src_compile() {
emake \
src_install() {
findlib_src_preinst
OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- ${PN}.install || die
+ opam_src_install
dodoc README.md
}