Skip to content

Commit

Permalink
dev-ml/dns-lwt: update to opam.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.11, Repoman-2.3.3
  • Loading branch information
aballier committed Oct 6, 2017
1 parent 2ba027d commit df06c7e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions dev-ml/dns-lwt/dns-lwt-1.0.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=5

inherit findlib
inherit findlib opam

MY_P=ocaml-dns-${PV}

Expand All @@ -24,7 +24,6 @@ RDEPEND="
"
DEPEND="
dev-ml/jbuilder
dev-ml/opam
test? (
dev-ml/dns-lwt-unix
)
Expand All @@ -42,11 +41,3 @@ src_compile() {
src_test() {
jbuilder runtest -p ${PN} || die
}

src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
}

0 comments on commit df06c7e

Please sign in to comment.