I'm currently trying to write a rockspec for cqueues (
http://25thandclement.com/~william/projects/cqueues.html).
It's makefile has targets for each version of lua. e.g.: 'all5.1',
'all5.2', 'all5.3', 'install5.1', 'install5.2', 'install5.3'.
How can I use these with the make build backend?

Regards,
Daurn.


PS, This is as far as I've gotten (it works, but is hard coded for lua 5.2):

package = "cqueues"
version = "scm-0"
source = {
url = "git://github.com/wahern/cqueues.git";
}
description = {
summary = "Continuation Queues: Embeddable asynchronous networking,
threading, and notification framework for Lua on Unix.";
homepage = "http://25thandclement.com/~william/projects/cqueues.html";;
license = "MIT/X11";
}
supported_platforms = {
"linux";
"bsd";
"solaris";
}
dependencies = {
"lua >= 5.1, < 5.4";
}
build = {
type = "make";
makefile = "GNUmakefile";

build_target = "all5.2";
build_variables = {
CFLAGS = "$(CFLAGS)";
};

install_target = "install5.2";
install_variables = {
prefix = "$(PREFIX)";
-- lua51cpath = "$(LIBDIR)";
lua52cpath = "$(LIBDIR)";
-- lua53cpath = "$(LIBDIR)";
-- lua51path = "$(LUADIR)";
lua52path = "$(LUADIR)";
-- lua53path = "$(LUADIR)";
bindir = "$(BINDIR)";
};
}
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&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