lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

I have done a rework on Lua 5.1 'fink' ( packaging, which I mentioned earlier on the list.

It now follows the current Fink packaging policies as close as I could :) but the split also feels more natural. Here's how it goes:

Four packages, namely:
lua - just the symbolic links from 'lua' to 'lua51', 'luac' to 'luac51' and same for man pages lua-dev - development headers, static library, and the version-numberless dylib link lua51-bin - 'lua51' interpreter, 'luac51' byte compiler (and man pages :)
    lua51-shlibs - shared libraries (version numbered)

The key is, that 'lua' and 'lua-dev' can only be of a certain version at a time (obviously, user typing 'lua' will lead to one place only..)

The 'lua51-bin' and 'lua51-shlibs', however, can safely co-habit with any number of other Lua engines. This allows i.e. an application script package (pure Lua) to depend on 'lua51-bin' without troubling any other packages on the system.

Would like OS X people to have a look (thanks!) :) and other packagers (apt-get, LuaBinaries, ...) to comment on this split. Could it be a generic 'good practise' regardless of platform?


a84-231-228-244:~/Slug/public/lua-fink nomovok$ ls -al /sw/bin/lua* lrwxr-xr-x 1 root admin 13 May 9 17:07 /sw/bin/lua -> /sw/bin/lua51 -rwxr-xr-x 1 root admin 162604 May 9 17:05 /sw/bin/lua51 lrwxr-xr-x 1 root admin 14 May 9 17:07 /sw/bin/luac -> /sw/bin/luac51 -rwxr-xr-x 1 root admin 110128 May 9 17:05 /sw/bin/luac51