summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-10-06 15:19:22 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-10-06 15:21:11 +0200
commit2ba027d3edc68228488669c7247d1ed6715107a1 (patch)
tree7613511bd92a287777a061ece9eab933e6cf9f23 /dev-ml
parentprofiles: Add updates/4Q-2017 and move dev-ml/ocaml-dns to dev-ml/dns (diff)
downloadgentoo-2ba027d3edc68228488669c7247d1ed6715107a1.tar.gz
gentoo-2ba027d3edc68228488669c7247d1ed6715107a1.tar.bz2
gentoo-2ba027d3edc68228488669c7247d1ed6715107a1.zip
dev-ml/dns: update to opam.eclass
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/dns/dns-1.0.0.ebuild12
1 files changed, 1 insertions, 11 deletions
diff --git a/dev-ml/dns/dns-1.0.0.ebuild b/dev-ml/dns/dns-1.0.0.ebuild
index 85d9d78a23c1..1780cf1361f4 100644
--- a/dev-ml/dns/dns-1.0.0.ebuild
+++ b/dev-ml/dns/dns-1.0.0.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-inherit findlib eutils
+inherit findlib opam
DESCRIPTION="A pure OCaml implementation of the DNS protocol"
HOMEPAGE="https://github.com/mirage/ocaml-dns https://mirage.io"
@@ -15,7 +15,6 @@ KEYWORDS="~amd64"
IUSE=""
RDEPEND="
- >=dev-lang/ocaml-4:=
>=dev-ml/ocaml-base64-2.0.0:=
>=dev-ml/ocaml-cstruct-3.0.2:=[ppx]
dev-ml/ocaml-hashcons:=
@@ -27,7 +26,6 @@ RDEPEND="
"
DEPEND="
dev-ml/jbuilder
- dev-ml/opam
${RDEPEND}
"
@@ -43,11 +41,3 @@ src_compile() {
src_test() {
jbuilder runtest -p dns || die
}
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- dns.install || die
-}