diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-08-02 12:18:13 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-08-02 13:22:39 +0200 |
commit | f9f267f5ce4c46c83af1c9a322fb3954fca9ddae (patch) | |
tree | 856e3847f6b64762fa3f1b24f84705810a3dec9b /dev-ml/textutils | |
parent | dev-ml/utop: convert to opam.eclass (diff) | |
download | gentoo-f9f267f5ce4c46c83af1c9a322fb3954fca9ddae.tar.gz gentoo-f9f267f5ce4c46c83af1c9a322fb3954fca9ddae.tar.bz2 gentoo-f9f267f5ce4c46c83af1c9a322fb3954fca9ddae.zip |
dev-ml/textutils: convert to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml/textutils')
-rw-r--r-- | dev-ml/textutils/textutils-0.9.0.ebuild | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-ml/textutils/textutils-0.9.0.ebuild b/dev-ml/textutils/textutils-0.9.0.ebuild index e39c58b6af9c..2ebb56bcc79c 100644 --- a/dev-ml/textutils/textutils-0.9.0.ebuild +++ b/dev-ml/textutils/textutils-0.9.0.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit opam + DESCRIPTION="Text output utilities" HOMEPAGE="https://github.com/janestreet/textutils" SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -13,18 +15,9 @@ KEYWORDS="~amd64" IUSE="" RDEPEND=" - dev-lang/ocaml:= dev-ml/core:= dev-ml/ppx_driver:= dev-ml/ppx_jane:= dev-ml/ocaml-migrate-parsetree:= " -DEPEND="${RDEPEND} 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="${RDEPEND} dev-ml/jbuilder" |