From d82c12eeefefb0342691863a732b28aac5dc97b2 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Tue, 12 Jan 2016 16:06:48 -0800 Subject: Updated to use the luarocks build-backend instead of external make file and build dependencies --- lua_uuid-0.1-8.rockspec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'lua_uuid-0.1-8.rockspec') 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" }, + }, } } -- cgit v1.2.3-70-g09d2