mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ml/fmt: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit findlib
|
||||
inherit findlib opam
|
||||
|
||||
DESCRIPTION="Combinators to devise OCaml Format pretty-printing functions"
|
||||
HOMEPAGE="http://erratique.ch/software/fmt https://github.com/dbuenzli/fmt"
|
||||
@@ -19,7 +19,6 @@ RDEPEND="dev-ml/result:=[ocamlopt]
|
||||
dev-ml/uchar:=[ocamlopt]
|
||||
dev-ml/cmdliner:=[ocamlopt]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/opam
|
||||
>=dev-ml/topkg-0.9
|
||||
dev-ml/ocamlbuild
|
||||
dev-ml/findlib"
|
||||
@@ -31,12 +30,3 @@ src_compile() {
|
||||
src_test() {
|
||||
ocaml pkg/pkg.ml test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
opam-installer -i \
|
||||
--prefix="${ED}/usr" \
|
||||
--libdir="${D}/$(ocamlc -where)" \
|
||||
--docdir="${ED}/usr/share/doc/${PF}" \
|
||||
${PN}.install || die
|
||||
dodoc CHANGES.md README.md
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user