dev-ml/fpath: convert to opam.eclass

Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
Alexis Ballier
2017-09-23 14:10:46 +02:00
parent a88db368f2
commit 53bed53756

View File

@@ -3,6 +3,8 @@
EAPI=6
inherit opam
DESCRIPTION="File system paths for OCaml"
HOMEPAGE="http://erratique.ch/software/fpath https://github.com/dbuenzli/fpath"
SRC_URI="http://erratique.ch/software/fpath/releases/${P}.tbz"
@@ -13,7 +15,6 @@ KEYWORDS="~amd64"
IUSE=""
RDEPEND="
dev-lang/ocaml:=
dev-ml/result:=
dev-ml/astring:=
"
@@ -26,11 +27,3 @@ DEPEND="${RDEPEND}
src_compile() {
ocaml pkg/pkg.ml build || die
}
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
}