dev-lang/lfe: drop old 1.3.0_p20210112

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć 2021-04-28 16:02:45 +02:00
parent 9002c487e3
commit 97a5e474ca
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 0 additions and 76 deletions

View File

@ -1,2 +1 @@
DIST lfe-1.3.0_p20210112.tar.gz 345105 BLAKE2B 579b2d0acc887a8d74b4a2166d465886f5622605a12d7db24c946ee02f6ad9e6aefd2ae8d11623228b449284378f930685d79016d91497642c33acc63ea66e44 SHA512 bbe9b7e33650cf190bb30be0e6fa2fc9763ae5f3ffa5f40c3571cf29778061997b6a10199d70c96a1dfd447b338d19cd97776cbac23cd5c6cd3c96dc50119a8a
DIST lfe-1.3.0_p20210419.tar.gz 351519 BLAKE2B 45dc51dedab9475c1da97edf94889f57d895f829e75c1aa80d7f698a796aafff209165c8c8d9ebd4abeb35b624f88508ae646db85427289dffc4cea7747b8d92 SHA512 a213c9b7152e771618a710e7fbdca303c86170ea0b838551cc521cb72d927c66cf645bc92d581a93287aee99bc5d71ed7320492a5b84f204eea8789172862433 DIST lfe-1.3.0_p20210419.tar.gz 351519 BLAKE2B 45dc51dedab9475c1da97edf94889f57d895f829e75c1aa80d7f698a796aafff209165c8c8d9ebd4abeb35b624f88508ae646db85427289dffc4cea7747b8d92 SHA512 a213c9b7152e771618a710e7fbdca303c86170ea0b838551cc521cb72d927c66cf645bc92d581a93287aee99bc5d71ed7320492a5b84f204eea8789172862433

View File

@ -1,75 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit elisp-common toolchain-funcs
DESCRIPTION="Lisp-flavoured Erlang"
HOMEPAGE="http://lfe.github.io/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_BRANCH="develop"
EGIT_REPO_URI="https://github.com/rvirding/${PN}.git"
else
COMMIT_SHA="e5f20c459a13b35ed1e71b1d2667363af168e958"
SRC_URI="https://github.com/rvirding/${PN}/archive/${COMMIT_SHA}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${COMMIT_SHA}"
fi
RESTRICT="mirror test"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc emacs"
BDEPEND="
doc? ( app-text/pandoc )
"
RDEPEND="
dev-lang/erlang
emacs? ( >=app-editors/emacs-23.1:* )
"
DEPEND="${RDEPEND}"
SITEFILE="70${PN}-gentoo.el"
src_prepare() {
default
sed -i "s|cc |$(tc-getCC) ${CFLAGS} |g" ./Makefile \
|| die "Failed to fix the makefile"
}
src_compile() {
emake compile
use doc && emake docs
use emacs && emake emacs
}
src_install() {
dodir "/usr/$(get_libdir)/erlang/lib/lfe/ebin/"
cp -R ./ebin "${D}/usr/$(get_libdir)/erlang/lib/lfe/"
dobin ./bin/*
if use doc; then
dodoc ./doc/*.txt
doman ./doc/man/*
fi
if use emacs; then
elisp-install lfe emacs/* \
|| die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}