mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-ml/react: convert to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit opam
|
||||
|
||||
DESCRIPTION="OCaml module for functional reactive programming"
|
||||
HOMEPAGE="http://erratique.ch/software/react https://github.com/dbuenzli/react"
|
||||
SRC_URI="http://erratique.ch/software/react/releases/${P}.tbz"
|
||||
@@ -12,10 +14,9 @@ SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-3.12:="
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/findlib
|
||||
dev-ml/opam
|
||||
>=dev-ml/topkg-0.9
|
||||
"
|
||||
|
||||
@@ -28,12 +29,3 @@ src_compile() {
|
||||
src_test() {
|
||||
ocaml pkg/pkg.ml test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
opam-installer \
|
||||
--prefix="${ED}/usr" \
|
||||
--libdir="${D}/$(ocamlc -where)" \
|
||||
--docdir="${ED}/usr/share/doc/${PF}" \
|
||||
|| die
|
||||
dodoc CHANGES.md README.md TODO.md
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user