On 07.01.2011 01:12:32, Ildar Mulyukov wrote:
Dear colleagues,
please confirm.
$ luarocks list | grep -A1 lpeg
lpeg
0.10-1 (installed) - /usr/lib/luarocks/rocks
$ luarocks make --local
--to=/tmp/lua-module-cosmo-buildroot/usr
/var/tmp/RPM/SOURCES/cosmo-10.04.06-1.rockspec
Missing dependencies for cosmo:
lpeg >= 0.9
luarocks seems to be mistaken.
Hi, everybody. I was wrong. The version calculation is fine.
BUT my problem here: I need the DESTDIR analog*). I was thinking the
"--to=" option is the thing I need. I was wrong.
Explanation: Using --to=<tree> option makes luarocks look only into the
<tree> when seeking deps. (Why?)
Anyone can give me a hint?
*) DESTDIR is a dir for installation. I.e. I build something to install
into /usr. Then installing it with DESTDIR==/tmp/buildroot puts all the
files into /tmp/buildroot/usr . This is necessary for *distro
packaging*. Some references:
1. http://sourceware.org/autobook/autobook/autobook_107.html
--
Ildar Mulyukov, free SW designer/programmer
================================================
email: [email protected]
home: http://johan-notes.blogspot.com/
ALT Linux Sisyphus
================================================
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers