Hi!

On 18 July 2014 13:46, Sergey Zavadski <sergeyzavad...@gmail.com> wrote:
> I want to create a rock for a project I am working on - 
> https://github.com/sergeyzavadski/leda. (It is framework  for creating fast 
> multithreaded network applications in lua).

Are you aware of http://github.com/salmito/leda ? There's a naming
conflict, and the existing Leda is already on LuaRocks:

https://rocks.moonscript.org/search?q=leda

(Don't be misled by the "0 downloads" counter; the numbers were reset
recently when we switched to the new repository.)

> It embeds luajit and provides own binary
>
> Its installation process requires running “configure” script with the target 
> installation path. How should I approach creating a rock spec for it?

There are examples of rockspecs that use configure scripts, I think
luaposix is one of them.

> Is it possible to reference luarocks installation path from inside the 
> .rockspec?

No. This restriction is necessary to ensure that binary rocks are
relocatable. (i.e., they can be installed in different locations after
compilation.)

-- Hisham

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to