On 16 November 2013 11:18, François Perrad <francois.per...@gadz.org> wrote: > So, I need 2 small patches for this (see, > https://raw.github.com/fperrad/br/luarocks/package/luarocks/luarocks-unpack.patch
Thanks for the patch: I pushed a variation of it to add this behavior, but as an optional --force flag: https://github.com/keplerproject/luarocks/commit/a1f62e69ee7fdb1dfd6dc36aad48e1306a70bb14 > & > https://raw.github.com/fperrad/br/luarocks/package/luarocks/luarocks-build-minimal.patch) Unless I'm missing something, the `luarocks make` command is what you need. I believe you can get the same behavior of your patch with: luarocks make --deps-mode=none --keep <file.rockspec> Please give it a try! > Now, I've converted 13 modules with this new infrastructure, and the > Makefile of a typical package looks like : > > > ################################################################################ > # > # luafoo > # > > ################################################################################ > > LUAFOO_VERSION = 1.0.2-1 > LUAFOO_DEPENDENCIES = foo > > $(eval $(luarocks-package)) Great! I always wanted to see LuaRocks integrated into other build systems. It reduces duplication of work. > In conclusion, the good design of LuaRocks allows me to do this > unexpected use of it. This is really cool -- I have used LuaRocks for cross-compilation at work once, and making everything configurable through variables was a good design decision; I too was surprised at how easy it was to bend it to do cross-compiles. :) -- Hisham ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers