Here's a first go at a luarock for luaposix 5.1.12:
package="luaposix"
version="5.1.12-1"
source = {
url = "http://luaforge.net/frs/download.php/4844/luaposix-5.1.12.tar.gz",
md5 = "fcead5aa7d78b7d2c578e55177524aaa",
dir = "luaposix-5.1.12"
}
description = {
summary = "A POSIX library (including curses) for Lua.",
detailed = [[
A library binding various POSIX APIs, including curses.
POSIX is the IEEE Portable Operating System Interface standard.
luaposix is based on lposix and lcurses.
]],
homepage = "http://luaforge.net/projects/luaposix/",
license = "MIT/X11"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = "command",
build_command = "LUA=$(LUA) CPPFLAGS=-I$(LUA_INCDIR) ./configure
--prefix=$(PREFIX) --libdir=$(LIBDIR) --datadir=$(LIBDIR)",
install_command = "make install"
}
Let me know how it looks! If you like it, then I think one can use the
build_command and install_command for most autotool-based projects.
--
http://rrt.sc3d.org
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers