From 3f74064f40602c89af994fd4f1a9942c331e2e85 Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Thu, 23 Feb 2017 18:00:44 +0100 Subject: [PATCH] lua-cjson: use LUA_CJSON_SUBDIR The infra sets _SUBDIR to the correct value, so we can use it to define _LICENSE_FILES. This removes the need for LUA_CJSON_VERSION_UPSTREAM. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/lua-cjson/lua-cjson.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/lua-cjson/lua-cjson.mk b/package/lua-cjson/lua-cjson.mk index 16cb97412a..1823aa50de 100644 --- a/package/lua-cjson/lua-cjson.mk +++ b/package/lua-cjson/lua-cjson.mk @@ -4,9 +4,8 @@ # ################################################################################ -LUA_CJSON_VERSION_UPSTREAM = 2.1.0 -LUA_CJSON_VERSION = $(LUA_CJSON_VERSION_UPSTREAM)-1 +LUA_CJSON_VERSION = 2.1.0-1 LUA_CJSON_LICENSE = MIT -LUA_CJSON_LICENSE_FILES = lua-cjson-$(LUA_CJSON_VERSION_UPSTREAM)/LICENSE +LUA_CJSON_LICENSE_FILES = $(LUA_CJSON_SUBDIR)/LICENSE $(eval $(luarocks-package)) -- 2.30.2