summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-06 14:06:12 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-06 14:30:27 +0200
commit6498f607aaef23fd2d311d310dc86bc6f46d85a1 (patch)
treec434d6ef9fe812912f73471bf8ed3c011833e3b0 /dev-ml/typerep
parentdev-ml/typerep_extended: convert to opam.eclass (diff)
downloadgentoo-6498f607aaef23fd2d311d310dc86bc6f46d85a1.tar.gz
gentoo-6498f607aaef23fd2d311d310dc86bc6f46d85a1.tar.bz2
gentoo-6498f607aaef23fd2d311d310dc86bc6f46d85a1.zip
dev-ml/typerep: convert to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml/typerep')
-rw-r--r--dev-ml/typerep/typerep-0.9.0.ebuild18
1 files changed, 4 insertions, 14 deletions
diff --git a/dev-ml/typerep/typerep-0.9.0.ebuild b/dev-ml/typerep/typerep-0.9.0.ebuild
index 7359a76a68ae..2940a4604344 100644
--- a/dev-ml/typerep/typerep-0.9.0.ebuild
+++ b/dev-ml/typerep/typerep-0.9.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Library for creating runtime representation of OCaml types"
HOMEPAGE="https://github.com/janestreet/typerep"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -12,18 +14,6 @@ SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
-DEPEND="
- dev-lang/ocaml:=
- dev-ml/base:=
-"
-
+DEPEND="dev-ml/base:="
RDEPEND="${DEPEND}"
-DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder"
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- ${PN}.install || die
-}
+DEPEND="${DEPEND} dev-ml/jbuilder"