diff options
Diffstat (limited to 'dev-lang/lfe/lfe-0.10.1.ebuild')
-rw-r--r-- | dev-lang/lfe/lfe-0.10.1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-lang/lfe/lfe-0.10.1.ebuild b/dev-lang/lfe/lfe-0.10.1.ebuild new file mode 100644 index 000000000000..623bb9c7e0f2 --- /dev/null +++ b/dev-lang/lfe/lfe-0.10.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib + +DESCRIPTION="Lisp-flavoured Erlang" +HOMEPAGE="http://lfe.github.io/" +SRC_URI="https://github.com/rvirding/lfe/archive/v${PV}.zip" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/erlang" +DEPEND="${RDEPEND}" + +src_prepare() { + export PATH="${S}/bin:$PATH" +} + +src_compile() { + emake compile -j1 +} + +src_install() { + dobin bin/lfe + dobin bin/lfec + dobin bin/lfescript + dodir /usr/$(get_libdir)/erlang/lib/lfe/ebin/ + dodir /usr/$(get_libdir)/erlang/lib/lfe/emacs/ + cp -R "${S}/ebin" "${D}/usr/$(get_libdir)/erlang/lib/lfe/" + cp -R "${S}/emacs" "${D}/usr/$(get_libdir)/erlang/lib/lfe/" +} |