Hi

I'm having an issue to use global variable in the rockspec version 2.2.0

here is my code:

package = "lualoggingapender"
version = "1.0-1"
source = {
url = "",
dir = "lib",
dir = "logging"
}
description = {
summary = "",
detailed = [[ ]],
homepage = "",
license = "MIT/X11"
}
dependencies = {
"lua ~> 5.1",
}
build = {
platforms = {
unix = {
type = "none",
        install = {
lua = {
['logging.syslog'] = "logging/syslog.lua",
}
},

                         type = "command",
                         install_command = "cp lib/syslog.so
/usr/lib64/lua/5.1"
 },
}
}

I wanted to replace the 5.1 to global variable $(LUA_VERSION) like in the
configure file, but it doesn't work. Any idea how to fix it

Also on the side note no matter if I change the LUA_LIBDIR =/usr/lib64 in
the configure file build.install.lib will always copy the .so file to
usr/lib this why I used install_command instead, any idea why it is doing
that, is it hard-coded ? but luarocks copy itself to the right folder

thank you in advance

Jp
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to