On 4/7/22 13:34, Ruben Schuller wrote: > Hi, > > 2022-04-07 evandrofisico <[email protected]>: > >> 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 >
The problem I've bumped in to with luaXX, is that although you can fiddle pkg-config, the final program executable will have trouble finding the correct lua executable. -Ed _______________________________________________ SlackBuilds-users mailing list [email protected] https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
