aboutsummaryrefslogtreecommitdiff
path: root/lua_uuid-0.1-8.rockspec
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@debianacht>2016-01-12 16:06:48 -0800
committerThijs Schreijer <thijs@debianacht>2016-01-12 16:06:48 -0800
commitd82c12eeefefb0342691863a732b28aac5dc97b2 (patch)
treeb87d248db57e1f5f0eefec6fb3ca0393610ca420 /lua_uuid-0.1-8.rockspec
parent723bb72af2e4b4c632c5c16dd7a06a3c5ccdcb46 (diff)
downloadlua_uuid-d82c12eeefefb0342691863a732b28aac5dc97b2.tar.gz
lua_uuid-d82c12eeefefb0342691863a732b28aac5dc97b2.tar.bz2
lua_uuid-d82c12eeefefb0342691863a732b28aac5dc97b2.zip
Updated to use the luarocks build-backend instead of external make file and build dependencies
Diffstat (limited to 'lua_uuid-0.1-8.rockspec')
-rw-r--r--lua_uuid-0.1-8.rockspec16
1 files changed, 6 insertions, 10 deletions
diff --git a/lua_uuid-0.1-8.rockspec b/lua_uuid-0.1-8.rockspec
index f7d355d..5b038fe 100644
--- a/lua_uuid-0.1-8.rockspec
+++ b/lua_uuid-0.1-8.rockspec
@@ -16,15 +16,11 @@ dependencies = {
"lua >= 5.1"
}
build = {
- type = "make",
- build_variables = {
- LUA="$(LUA)",
- CFLAGS="$(CFLAGS)",
- LIBFLAG="$(LIBFLAG)",
- LUA_LIBDIR="-L$(LUA_LIBDIR)",
- LUA_INCDIR="-I$(LUA_INCDIR)"
- },
- install_variables = {
- INST_LIBDIR = "$(LIBDIR)"
+ type = "builtin",
+ modules = {
+ ["lua_uuid"] = {
+ sources = { "lua_uuid.c" },
+ libraries = { "uuid" },
+ },
}
}