summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-09-22 10:25:57 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-09-22 10:31:45 +0200
commitadac9c1149ed1835e17decf0e5af034c2b8f6823 (patch)
tree7cd60ce3d44d2786dc2f8137cbc4553179c778d1 /dev-ml/ocaml-ipaddr
parentdev-ml/ocaml-uri: update to opam.eclass (diff)
downloadgentoo-adac9c1149ed1835e17decf0e5af034c2b8f6823.tar.gz
gentoo-adac9c1149ed1835e17decf0e5af034c2b8f6823.tar.bz2
gentoo-adac9c1149ed1835e17decf0e5af034c2b8f6823.zip
dev-ml/ocaml-ipaddr: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-ml/ocaml-ipaddr')
-rw-r--r--dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.8.0.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.8.0.ebuild b/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.8.0.ebuild
index 963f7245bbd5..c4a103f9a450 100644
--- a/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.8.0.ebuild
+++ b/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.8.0.ebuild
@@ -3,6 +3,8 @@
EAPI=5
+inherit opam
+
DESCRIPTION="OCaml library for manipulation of IP (and MAC) address representations"
HOMEPAGE="https://github.com/mirage/ocaml-ipaddr"
SRC_URI="https://github.com/mirage/ocaml-ipaddr/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -20,16 +22,10 @@ RDEPEND="dev-ml/sexplib:=
"
DEPEND="${RDEPEND}
dev-ml/jbuilder
- dev-ml/opam
dev-ml/findlib
test? ( dev-ml/ounit )
"
src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- ipaddr.install || die
- dodoc CHANGES.md README.md
+ opam_src_install ipaddr
}