diff options
Diffstat (limited to 'app-misc/ledit')
-rw-r--r-- | app-misc/ledit/Manifest | 3 | ||||
-rw-r--r-- | app-misc/ledit/ledit-2.03.ebuild | 41 | ||||
-rw-r--r-- | app-misc/ledit/metadata.xml | 8 |
3 files changed, 52 insertions, 0 deletions
diff --git a/app-misc/ledit/Manifest b/app-misc/ledit/Manifest new file mode 100644 index 000000000000..7fbee6313fc6 --- /dev/null +++ b/app-misc/ledit/Manifest @@ -0,0 +1,3 @@ +DIST ledit-2.03.tgz 24319 BLAKE2B d0a9dfbcb21b54075b61db34035291eaf3df4a337ea9fcf24b8b163d8a45c00b667dd311f39765dc904cbae1ec34e8773dea4c7ec6753796e768a8ee4cbbb927 SHA512 94281ea31d02c046db73bed42a1835826f063ff5d1ff4c374356e37fdf6b1a018f95a6372ece0eec53193aaf2e95c234c509ac178541bfe48dbc6f223f34f661 +EBUILD ledit-2.03.ebuild 872 BLAKE2B 6ecd27a40859d364f3e5e94747d4d040d06daa800d314a106d3ba4a8b63529845861b8358b44f731accbfa9f10003e1bea8dfd3f5c6dddd7810f89587083184a SHA512 6bcc0b182738fc40b2f54f18d7c1ec039aea53e34a59dff5e3d69e665b68c27e7593823b45a87c620348d0abd5ab5574983023a596f0f7c8b5a813282ba05c5b +MISC metadata.xml 253 BLAKE2B c787c1044c3f674eb5d2d7a0e830965ad53c7a2c8cdfcd95bece6b0557e35237f62afe28464ebe4c88468cd1fd543627349fd41a0aa760fceed1a7d52386eda2 SHA512 9285e04d22e8e41631e6de00e0ba02842cf0e772cd17a1d7ba3864e50eeea50abb06077ea4f9ac920eab3d520bfe28d389b3d04d5c3529af23a68ca68b6857d4 diff --git a/app-misc/ledit/ledit-2.03.ebuild b/app-misc/ledit/ledit-2.03.ebuild new file mode 100644 index 000000000000..caec36f62406 --- /dev/null +++ b/app-misc/ledit/ledit-2.03.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +RESTRICT="installsources" +IUSE="+ocamlopt" + +DESCRIPTION="A line editor to be used with interactive commands" +SRC_URI="http://pauillac.inria.fr/~ddr/ledit/distrib/src/${P}.tgz" +HOMEPAGE="http://pauillac.inria.fr/~ddr/ledit/" + +DEPEND=">=dev-lang/ocaml-3.09:=[ocamlopt?] + dev-ml/camlp5:=" +RDEPEND="${DEPEND}" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" + +src_compile() { + emake -j1 all + if use ocamlopt; then + emake -j1 ledit.opt + else + # If using bytecode we dont want to strip the binary as it would remove the + # bytecode and only leave ocamlrun... + export STRIP_MASK="*/bin/*" + fi +} + +src_install() { + if use ocamlopt; then + newbin ledit.opt ledit + else + newbin ledit.out ledit + fi + doman ledit.1 + dodoc CHANGES README +} diff --git a/app-misc/ledit/metadata.xml b/app-misc/ledit/metadata.xml new file mode 100644 index 000000000000..ffa6c6b4395b --- /dev/null +++ b/app-misc/ledit/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ml@gentoo.org</email> + <name>Gentoo ML Project</name> + </maintainer> +</pkgmetadata> |