Skip to content

Commit

Permalink
dev-ml/uuidm: update 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 05a93c6 commit 08a7ccf
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions dev-ml/uuidm/uuidm-0.9.6.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
}

0 comments on commit 08a7ccf

Please sign in to comment.