commit: 53bed53756ddea5d437f0ced63beda5718a97fc1 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Sat Sep 23 12:10:46 2017 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Sat Sep 23 12:43:52 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53bed537
dev-ml/fpath: convert to opam.eclass Package-Manager: Portage-2.3.10, Repoman-2.3.3 dev-ml/fpath/fpath-0.7.2.ebuild | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/dev-ml/fpath/fpath-0.7.2.ebuild b/dev-ml/fpath/fpath-0.7.2.ebuild index 8696bff4270..8a7ca78a229 100644 --- a/dev-ml/fpath/fpath-0.7.2.ebuild +++ b/dev-ml/fpath/fpath-0.7.2.ebuild @@ -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 -}
