summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* lua.eclass: Fix eclassdoc indentationMarek Szuba2020-11-051-3/+3
| | | | | | | Must use spaces instead of tabs in code examples in order for them to be properly indented in generated man pages etc. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua.eclass: die if lua-single.eclass has already been loadedMarek Szuba2020-10-051-0/+4
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua.eclass: split some stuff out as lua-utils.eclassMarek Szuba2020-10-051-339/+6
| | | | | | These are the things that will be used by both lua and lua-single. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* eclass: Add first version of lua.eclassMarek Szuba2020-09-081-0/+710
This eclass should be to Lua what python-r1 is to Python. Indeed, most of the plumbing has been shamelessly stolen from that eclass. What works: - support for slotted dev-lang/lua - building and installing Lua modules, for multiple Lua implementations - dependencies on other Lua modules What doesn't work yet: - support for dev-lang/luajit (not in the least because the versions currently in the tree share module directories with dev-lang/lua) - proper support for building against a single Lua target Signed-off-by: Marek Szuba <marecki@gentoo.org>