Open wahern opened 9 years ago
We probably should not rely on dh-lua (the utility used by the core maintainer of Lua packages on Debian) because the new and old versions of that utility are incompatible, causing headaches when building on older Debian and Ubuntu releases. And even the newest version cannot deal with Lua 5.3. The dh-lua system needs more work.
I noticed that there is no debian install file for 5.3
@kinnison did you have something for this?
The dh-lua system needs more work. I can relate to that :). Packaging lua-cqueues using dh_lua was bit hackish.
Anyway, you can adhere to Debian policy just by using the correct directories even without using dh_lua
, e.g. using /usr/lib/<tripplet>/
for shared libraries with symlinks to /usr/lib/<tripplet>/lua/<ver>/
and /usr/share/lua
for lua code. The helper is there just for most cases.
(Or you can improve the helper :)).
See http://pkg-lua.alioth.debian.org/policy.html
Most importantly, the packages need to adhere to the new naming pattern.
Preferably also generate libtoolized modules/libraries. Although this is more involved--excepting GNU Make, the build is intended to work natively and without dependencies on all supported platforms. Need additional build recipes that use libtool.