mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ml/ocaml-ipaddr: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user