diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /app-misc/ledit/ledit-2.04.ebuild | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'app-misc/ledit/ledit-2.04.ebuild')
-rw-r--r-- | app-misc/ledit/ledit-2.04.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/ledit/ledit-2.04.ebuild b/app-misc/ledit/ledit-2.04.ebuild new file mode 100644 index 000000000000..2236980b1f7e --- /dev/null +++ b/app-misc/ledit/ledit-2.04.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A line editor to be used with interactive commands" +HOMEPAGE="http://pauillac.inria.fr/~ddr/ledit/" +SRC_URI="http://pauillac.inria.fr/~ddr/ledit/distrib/src/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="+ocamlopt" + +RESTRICT="installsources !ocamlopt? ( strip )" + +DEPEND=">=dev-lang/ocaml-3.09:=[ocamlopt?] + dev-ml/camlp5:=" +RDEPEND="${DEPEND}" + +# For explanation please follow the link below. +# https://github.com/gentoo/gentoo/pull/14865#issuecomment-605697524 +QA_FLAGS_IGNORED="/usr/bin/ledit" + +src_compile() { + emake -j1 all + if use ocamlopt; then + emake -j1 ledit.opt + fi +} + +src_install() { + if use ocamlopt; then + newbin ledit.opt ledit + else + newbin ledit.out ledit + fi + doman ledit.1 + dodoc CHANGES README +} |