summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-09-22 10:14:26 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-09-22 10:31:39 +0200
commitc567658d3d151388a97364ae0fac3477bb782f3d (patch)
treeadc43a51fc62c1a0b84d5f961ea60ad09e79f712 /dev-ml/mtime
parentdev-ml/mtime: Remove old (diff)
downloadgentoo-c567658d3d151388a97364ae0fac3477bb782f3d.tar.gz
gentoo-c567658d3d151388a97364ae0fac3477bb782f3d.tar.bz2
gentoo-c567658d3d151388a97364ae0fac3477bb782f3d.zip
dev-ml/mtime: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-ml/mtime')
-rw-r--r--dev-ml/mtime/mtime-1.1.0.ebuild12
1 files changed, 1 insertions, 11 deletions
diff --git a/dev-ml/mtime/mtime-1.1.0.ebuild b/dev-ml/mtime/mtime-1.1.0.ebuild
index 02c8e3c21559..1c5185f3abd3 100644
--- a/dev-ml/mtime/mtime-1.1.0.ebuild
+++ b/dev-ml/mtime/mtime-1.1.0.ebuild
@@ -3,7 +3,7 @@
EAPI="5"
-inherit eutils
+inherit eutils opam
DESCRIPTION="OCaml module to access monotonic wall-clock time"
HOMEPAGE="http://erratique.ch/software/mtime https://github.com/dbuenzli/mtime"
@@ -18,7 +18,6 @@ RDEPEND="dev-lang/ocaml:=[ocamlopt]
javascript? ( dev-ml/js_of_ocaml:= )
"
DEPEND="${RDEPEND}
- dev-ml/opam
dev-ml/topkg
dev-ml/ocamlbuild
dev-ml/findlib"
@@ -33,12 +32,3 @@ src_compile() {
src_test() {
ocaml pkg/pkg.ml test || 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
-}