On Tue, Mar 5, 2013 at 6:32 AM, Hisham <h...@hisham.hm> wrote: > On 4 March 2013 02:20, Choonster TheMage <choonster.2...@gmail.com> wrote: >> Hello, >> >> I'm in the process of developing a library that has some slightly >> complex dependencies. I want it to depend on Penlight (but ideally not >> LuaFileSystem) and one of several compression libraries to be chosen >> by the developer using the library (but ideally not all of them). >> >> Is there any way to represent these dependencies in a Rockspec, or is >> it too complex for the system to handle? I'd like to have the library >> available through LuaRocks when it's done, but it looks like I may >> have to have users manually manage the dependencies. > > The current version of LuaRocks does not support that, unfortunately. > One possible workaround is to have several rockspecs, for each variant > (see the various flavors of lrexlib in > http://luarocks.org/repositories/rocks/ for example). > > -- Hisham > http://hisham.hm/ >
Thanks Hisham, I'll probably go with the multiple rockspec approach. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers