Hi Hisham and Fabio,

Would you please add the latest Lua/APR rockspec to the repository? It's 
available at the following location:

http://peterodding.com/code/lua/apr/downloads/lua-apr-0.20.3-1.rockspec

One notable change since the last rockspec that was included in the 
repository is that the rockspec no longer references any external 
dependencies, instead the makefile uses pkg-config to automatically 
detect external dependencies.

The main rule in the makefile now also runs a Lua script that knows how 
to check for and install missing but required system packages on Debian, 
Ubuntu, Arch Linux, Red Hat, Fedora Core, Suse Linux and CentOS.

The second change required the first, because the script doesn't get a 
chance to install missing system packages if LuaRocks checks for 
external dependencies first and then exits with an error because it 
can't locate the external dependencies.

The script is quite simple and shouldn't be hard to extend to more 
systems or re-use for other rocks. If you accept this rockspec and the 
automatic installation of system packages turns out to work okay, maybe 
this could provide a base from which to start for adding this feature to 
LuaRocks proper? (Don't get mad at me, it's only a suggestion :-)

  - Peter

PS. If anyone has suggestions on how to make the script support more 
platforms I'd love to hear about it! If you want to take a look at the 
script without having to download the rockspec it's available on line at 
the following location:

https://github.com/xolox/lua-apr/blob/master/etc/dependencies.lua

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to