diff options
author | David Seifert <soap@gentoo.org> | 2022-09-06 12:18:46 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-09-06 12:18:46 +0200 |
commit | 26ab0d680177d65cbcf76b0f2fb44703fed5f765 (patch) | |
tree | 790e342c488559e7f05de44fafcb987f49a73e37 /dev-lang/lua/lua-5.3.6-r102.ebuild | |
parent | dev-lang/lua: revbump for Requires.private removal (5.1.6) (diff) | |
download | gentoo-26ab0d680177d65cbcf76b0f2fb44703fed5f765.tar.gz gentoo-26ab0d680177d65cbcf76b0f2fb44703fed5f765.tar.bz2 gentoo-26ab0d680177d65cbcf76b0f2fb44703fed5f765.zip |
dev-lang/lua: revbump for Requires.private removal (5.3.6)
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-lang/lua/lua-5.3.6-r102.ebuild')
-rw-r--r-- | dev-lang/lua/lua-5.3.6-r102.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-lang/lua/lua-5.3.6-r102.ebuild b/dev-lang/lua/lua-5.3.6-r102.ebuild new file mode 100644 index 000000000000..a31377bb535a --- /dev/null +++ b/dev-lang/lua/lua-5.3.6-r102.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic optfeature + +DESCRIPTION="A powerful light-weight programming language designed for extending applications" +HOMEPAGE="https://www.lua.org/" +# tarballs produced from ${PV} branches in https://gitweb.gentoo.org/proj/lua-patches.git +SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.tar.xz" + +LICENSE="MIT" +SLOT="5.3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+deprecated readline" + +DEPEND=" + >=app-eselect/eselect-lua-3 + readline? ( sys-libs/readline:= ) + !dev-lang/lua:0" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + use deprecated && append-cppflags -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 + econf $(use_with readline) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + eselect lua set --if-unset "${PN}${SLOT}" + + optfeature "Lua support for Emacs" app-emacs/lua-mode +} |