aboutsummaryrefslogtreecommitdiff
path: root/package/lua
diff options
context:
space:
mode:
authorGravatar Frank Hunleth <fhunleth@troodon-software.com>2014-09-12 19:22:36 -0400
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-09-13 10:00:50 +0200
commit9ee5be096e3dc63575559f85ee420f0666b1f6ea (patch)
tree1f3277f3c6be42eb3de739a52dea89d3bf633f79 /package/lua
parentedb0f3a4b84712170c66e85bc6dd3d4b957f3e7a (diff)
downloadbuildroot-9ee5be096e3dc63575559f85ee420f0666b1f6ea.tar.gz
buildroot-9ee5be096e3dc63575559f85ee420f0666b1f6ea.tar.bz2
lua: fix license path for lua 5.2
The file containing the license for lua 5.1 was removed and the license text was added to the readme in 5.2. [Peter: swap 5.1/5.2 logic] Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lua')
-rw-r--r--package/lua/lua.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/lua/lua.mk b/package/lua/lua.mk
index 9afec6ce57..b88f1e26a8 100644
--- a/package/lua/lua.mk
+++ b/package/lua/lua.mk
@@ -12,7 +12,11 @@ endif
LUA_SITE = http://www.lua.org/ftp
LUA_INSTALL_STAGING = YES
LUA_LICENSE = MIT
+ifeq ($(BR2_PACKAGE_LUA_5_1),y)
LUA_LICENSE_FILES = COPYRIGHT
+else
+LUA_LICENSE_FILES = doc/readme.html
+endif
LUA_PROVIDES = luainterpreter