diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-08-04 09:15:40 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-08-04 14:05:31 +0200 |
commit | 8dde1aa79a68636e382676e0e28a59fabf7eb61d (patch) | |
tree | 77cdaedc233d9d32ef2a0b339a7a811c347fa069 /dev-lang/lfe | |
parent | media-gfx/imagemagick: Stabilize 6.9.12.89 ppc64, #907992 (diff) | |
download | gentoo-8dde1aa79a68636e382676e0e28a59fabf7eb61d.tar.gz gentoo-8dde1aa79a68636e382676e0e28a59fabf7eb61d.tar.bz2 gentoo-8dde1aa79a68636e382676e0e28a59fabf7eb61d.zip |
dev-lang/lfe: bump to 2.1.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/lfe')
-rw-r--r-- | dev-lang/lfe/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/lfe/lfe-2.1.2.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-lang/lfe/Manifest b/dev-lang/lfe/Manifest index 4f9e8da56449..8a2f505ddf90 100644 --- a/dev-lang/lfe/Manifest +++ b/dev-lang/lfe/Manifest @@ -1,2 +1,3 @@ DIST lfe-2.0.1.tar.gz 351818 BLAKE2B 4f661d2d4685af420bf9b531795ffacfe9b272b6bd39c81a4f3344e4003960d2deb31618df22d8f91c74b925ab522153b732d9afdbd894c64f70a533b573989e SHA512 47d062fcd1910580ba5d84f8887a27d0717cb7aae2a90fb3a7e7411fd46886dd73e342ccd4627227c70d13dcd2c5f66077d351812e9bc0c17d64e9ef65d04f96 DIST lfe-2.0.tar.gz 351324 BLAKE2B 811bd310cf917f3e1dc456c9e7c5cd09f5099a2ab20d2bde60e2057eb94ee9125298866b01ef9b483fdaef8572cb487c0a760407c79774e915fdd2c7c129d796 SHA512 b615f28947febe034b1bd155e6c357211ebbdb63aef67645a9681a4a30b799c2019a79ab8f33cd5d3003ad5da83e10af6b3e5c1abe810def92c88812d58c0d04 +DIST lfe-2.1.2.tar.gz 364310 BLAKE2B 71a7a5f49bde4d66ce04868834d6f2b9a53d4195b8e1b45654f1f0e93bef6dab8607c1372206d102e786b31ec9d77fa252e57c6041bffd4de58b3790d1c86108 SHA512 0cc53d5706ca2fadb96980bee58d4adf83fe61026651fed319397b4a2476f3ea00b48735140f645a59cf5d3b476858c4e9fde992d2cec2b6e2687157e5ed2ade diff --git a/dev-lang/lfe/lfe-2.1.2.ebuild b/dev-lang/lfe/lfe-2.1.2.ebuild new file mode 100644 index 000000000000..0ec43431ab6d --- /dev/null +++ b/dev-lang/lfe/lfe-2.1.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common toolchain-funcs + +DESCRIPTION="Lisp-flavoured Erlang, a lisp syntax front-end to the Erlang compiler" +HOMEPAGE="http://lfe.github.io/ + https://github.com/rvirding/lfe/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_BRANCH="develop" + EGIT_REPO_URI="https://github.com/rvirding/${PN}.git" +else + SRC_URI="https://github.com/rvirding/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="emacs" + +RDEPEND=" + dev-lang/erlang + emacs? ( >=app-editors/emacs-23.1:* ) +" +BDEPEND=" + ${RDEPEND} +" + +SITEFILE="70${PN}-gentoo.el" + +src_compile() { + emake HOSTCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" compile + + use emacs && emake emacs +} + +src_install() { + insinto /usr/$(get_libdir)/erlang/lib/lfe/ + doins -r ebin + exeinto /usr/bin + doexe ./bin/* + + dodoc doc/*.txt + doman doc/man/* + + if use emacs ; then + elisp-install lfe emacs/* + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |