> 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 ;)
Defining platform specific dependencies would be awesome but even just a
'failed' key would go a long way towards being more user friendly!
- Peter
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers