diff options
Diffstat (limited to 'dev-lang/fennel')
-rw-r--r-- | dev-lang/fennel/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/fennel/fennel-1.3.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-lang/fennel/Manifest b/dev-lang/fennel/Manifest index 5ca6a3f29ef9..1a6bbbc7e346 100644 --- a/dev-lang/fennel/Manifest +++ b/dev-lang/fennel/Manifest @@ -1 +1,2 @@ DIST fennel-1.2.1.tar.gz 271590 BLAKE2B 63068e8e9d763bb4a51a5912439e8691b40e7e36da6441329e913c58cd6edb87ad01e35914f2eba881a8b40657c9cc7cbba131709fae42adc1baa7130a2d14d7 SHA512 dc8c99c1708457d1d84f5755145b66e691040ac06bf218e4140e1b3eb614b41b0b7211e304f9bae51304a78c1ec82595d32cf497085fcae4805c51f245620f55 +DIST fennel-1.3.0.tar.gz 280241 BLAKE2B b8b79b7c439d68e8e3e3eedbd50e8789cccad2a278df908d7432501722077ab884a0d18927a853fea70fc1ec682e929d5337b087662b64b0da4e0fffcad62d9f SHA512 b4b9b96f71d1cbbf5c81eae737aca01f7d417a227925d19008a923f5045a86a355297f927ecdb719653097f73d6d6df148955b1973e4483dd14e863384ca0ff3 diff --git a/dev-lang/fennel/fennel-1.3.0.ebuild b/dev-lang/fennel/fennel-1.3.0.ebuild new file mode 100644 index 000000000000..083ac5dad9a8 --- /dev/null +++ b/dev-lang/fennel/fennel-1.3.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Fails to build with with "lua5-1". +LUA_COMPAT=( lua5-{3,4} luajit ) + +inherit lua-single + +DESCRIPTION="Lisp-like language that compiles to Lua" +HOMEPAGE="https://fennel-lang.org/ + https://sr.ht/~technomancy/fennel/" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~technomancy/${PN}" +else + SRC_URI="https://git.sr.ht/~technomancy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND="${LUA_DEPS}" +BDEPEND="${RDEPEND}" + +src_install() { + emake LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" PREFIX="${ED}/usr" install + + rm -r "${ED}"/usr/man || die + doman ${PN}.1 + + dodoc *.md +} |