Skip to content

Commit

Permalink
dev-ml/utop: convert to opam.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.3
  • Loading branch information
aballier committed Aug 2, 2017
1 parent 08a7ccf commit e491915
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions dev-ml/utop/utop-2.0.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=5

inherit findlib
inherit findlib opam

DESCRIPTION="A new toplevel for OCaml with completion and colorization"
HOMEPAGE="https://github.com/diml/utop"
Expand All @@ -15,7 +15,6 @@ KEYWORDS="~amd64"
IUSE=""

DEPEND="
dev-lang/ocaml:=
>=dev-ml/lwt-2.4.0:=
dev-ml/lwt_react:=
>=dev-ml/lambda-term-1.2:=
Expand All @@ -25,17 +24,4 @@ DEPEND="
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/opam
dev-ml/jbuilder"

DOCS=( "CHANGES.md" "README.md" )
SITEFILE="50${PN}-gentoo.el"

src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
--mandir="${ED}/usr/share/man" \
${PN}.install || die
}

0 comments on commit e491915

Please sign in to comment.