aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Charbonnier <thibaultCha@users.noreply.github.com>2016-01-12 18:18:21 -0800
committerThibault Charbonnier <thibaultCha@users.noreply.github.com>2016-01-12 18:18:21 -0800
commit15a7ea2e99e124a777e5a887562728bc1d9d3c00 (patch)
treeb87d248db57e1f5f0eefec6fb3ca0393610ca420
parent723bb72af2e4b4c632c5c16dd7a06a3c5ccdcb46 (diff)
parentd82c12eeefefb0342691863a732b28aac5dc97b2 (diff)
downloadlua_uuid-15a7ea2e99e124a777e5a887562728bc1d9d3c00.tar.gz
lua_uuid-15a7ea2e99e124a777e5a887562728bc1d9d3c00.tar.bz2
lua_uuid-15a7ea2e99e124a777e5a887562728bc1d9d3c00.zip
Merge pull request #3 from Mashape/luarocksbackend
Use luarocks backend to build
-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" },
+ },
}
}