On Fri, May 20, 2011 at 5:27 AM, Ildar Mulyukov
<[email protected]> wrote:
> pkg-config support.

I think it would be cool & useful if we could have this:

external_dpendencies = {
   foo = {apt = 'foo-dev', yum = 'foo-devel', include = 'foo.h'}
}

So (if Linux) it would check whether it's a dpkg or rpm system, use
the right command to probe for the module, and (optionally?) use the
appropriate package manager to install the dependency.

(I say 'optiionally' because not everyone would be comfortable about
automatic install - in such a case, they get a nice message telling
them to do it themselves.)

If these programs are not found, we fall back on the
include-file-exists check as usual.

Perhaps there could also be a 'failed' key which is meant to be a
custom message to present to the user. Useful to deliver clues/tips to
users of operating systems which have no package managers ;)

steve d.

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to