dev-ml/uuidm: update to opam.eclass
authorAlexis Ballier <aballier@gentoo.org>
Wed, 2 Aug 2017 10:14:13 +0000 (12:14 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 2 Aug 2017 11:22:39 +0000 (13:22 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

dev-ml/uuidm/uuidm-0.9.6.ebuild

index 8211f3d4d411afe6817dccda444f5716934553f9..f3c7004e85f09e7178ab4fb238897823992401fb 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
-inherit findlib
+inherit findlib opam
 
 DESCRIPTION="OCaml module implementing 128 bits universally unique identifiers"
 HOMEPAGE="http://erratique.ch/software/uuidm"
@@ -14,20 +14,9 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE=""
 
-RDEPEND="dev-lang/ocaml:=
-       dev-ml/cmdliner:="
-DEPEND="${RDEPEND}
-       dev-ml/opam"
+RDEPEND="dev-ml/cmdliner:="
+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
-       dodoc CHANGES.md README.md
-}