On 04.03.2013 11:20:43, Choonster TheMage 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.
A typical program may have several build-time options (switches) for features and backends/etc. A specfile (e.g. RPM or DEB) defines the set of options that is used to build the program. So this set is (explicitly) fixed in a specfile. Sometimes a package builder may provide a mechanism to change this set without changing the spec, e.g.: $ rpmbuild -bb --enable sqlite --disable mysql aProgram.spec Thinking of LR as a package manager/builder you have exactly the situation described. Though Hisham still didn't agree with this point of view. )) Regards, -- Ildar Mulyukov, free SW designer/programmer ================================================ email: il...@users.sourceforge.net blog: http://johan-notes.blogspot.com/ ALT Linux Sisyphus ================================================ ------------------------------------------------------------------------------ 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