summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-09-22 10:31:21 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-09-22 10:31:47 +0200
commit56ca3d605433e5d1481c619f6323bddf59b48939 (patch)
tree61d339fb138a55278a309d180653e27fe904767e /dev-ml/lambda-term
parentdev-ml/ocaml-compiler-libs: update to opam.eclass (diff)
downloadgentoo-56ca3d605433e5d1481c619f6323bddf59b48939.tar.gz
gentoo-56ca3d605433e5d1481c619f6323bddf59b48939.tar.bz2
gentoo-56ca3d605433e5d1481c619f6323bddf59b48939.zip
dev-ml/lambda-term: udpate to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-ml/lambda-term')
-rw-r--r--dev-ml/lambda-term/lambda-term-1.11.ebuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/dev-ml/lambda-term/lambda-term-1.11.ebuild b/dev-ml/lambda-term/lambda-term-1.11.ebuild
index 7c744aea6219..040947b2c279 100644
--- a/dev-ml/lambda-term/lambda-term-1.11.ebuild
+++ b/dev-ml/lambda-term/lambda-term-1.11.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="A cross-platform library for manipulating the terminal"
HOMEPAGE="https://github.com/diml/lambda-term"
SRC_URI="https://github.com/diml/lambda-term/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -13,7 +15,6 @@ KEYWORDS="~amd64"
IUSE=""
DEPEND="
- dev-lang/ocaml:=
dev-ml/lwt_react:=
>=dev-ml/lwt-2.4.0:=
>=dev-ml/zed-1.2:=
@@ -22,16 +23,6 @@ DEPEND="
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/jbuilder
- dev-ml/opam
"
PATCHES=( "${FILESDIR}/lwtreact.patch" )
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --mandir="${ED}/usr/share/man" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- ${PN}.install || die
-}