[Slackbuilds-users] building luarocks for different lua versions
Ruben Schuller
sb at rbn.im
Thu Apr 7 20:34:28 UTC 2022
Hi,
2022-04-07 evandrofisico <evandrofisico at gmail.com>:
> Just installed slack 15 and while testing my own slackbuild scripts,
> I saw that now we have both lua 5.1, 5.2 and 5.3 in the repositories,
> and all of them beautifully capable of being installed side by side.
> I heavily use luarocks as my build system for lua, and it is usually
> configured with a specific lua runtime/version, said configuration
> happening during build time.
>
> I believe I've seen this asked before, but in such cases, what is the
> best option? to provide a flag on the building script, enabling the
> user to select which version to build the package for, to provide
> multiple scripts, or try to detect the installed versions?
I have modified lua-lpeg [1] to be build for every installed lua. As I
only use lua because some stuff requires it I'm no expert on it or if
this helps with luarocks.
Cheers
Ruben
[1]
https://git.slackbuilds.org/slackbuilds/tree/libraries/lua-lpeg/lua-lpeg.SlackBuild#n80
More information about the SlackBuilds-users
mailing list