summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-02 13:22:17 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-02 13:22:53 +0200
commit6e96b59e2e0e869248075e01768861b52ff3e666 (patch)
tree33a914955411eb0661d4defd5cb6b671b934001e /dev-ml/stdio
parentdev-ml/sexplib: Remove old (diff)
downloadgentoo-6e96b59e2e0e869248075e01768861b52ff3e666.tar.gz
gentoo-6e96b59e2e0e869248075e01768861b52ff3e666.tar.bz2
gentoo-6e96b59e2e0e869248075e01768861b52ff3e666.zip
dev-ml/stdio: convert to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml/stdio')
-rw-r--r--dev-ml/stdio/stdio-0.9.0.ebuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/dev-ml/stdio/stdio-0.9.0.ebuild b/dev-ml/stdio/stdio-0.9.0.ebuild
index 2fae200cc4f8..370b1ec250f8 100644
--- a/dev-ml/stdio/stdio-0.9.0.ebuild
+++ b/dev-ml/stdio/stdio-0.9.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Standard IO Library for OCaml"
HOMEPAGE="https://github.com/janestreet/stdio"
SRC_URI="https://github.com/janestreet/stdio/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -12,17 +14,9 @@ SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
-RDEPEND="dev-lang/ocaml:= dev-ml/base:="
-DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder"
+RDEPEND="dev-ml/base:="
+DEPEND="${RDEPEND} dev-ml/jbuilder"
src_test() {
jbuilder runtest || die
}
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- ${PN}.install || die
-}