lua: fix license path for lua 5.2
authorFrank Hunleth <fhunleth@troodon-software.com>
Fri, 12 Sep 2014 23:22:36 +0000 (19:22 -0400)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 13 Sep 2014 08:00:50 +0000 (10:00 +0200)
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>
package/lua/lua.mk

index 9afec6ce572d61f5df5e71571b219fcc228b8386..b88f1e26a83cc9393c83dbf25499e41fa5924167 100644 (file)
@@ -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