Skip to content

Commit

Permalink
dev-ml/ocaml-ipaddr: update to opam.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.10, Repoman-2.3.3
  • Loading branch information
aballier committed Sep 22, 2017
1 parent 3d59a59 commit adac9c1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.8.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
}

0 comments on commit adac9c1

Please sign in to comment.