@@ -394,6 +394,7 @@ source "package/lualogging/Config.in"
source "package/luaposix/Config.in"
source "package/luasec/Config.in"
source "package/luasocket/Config.in"
+source "package/lunit/Config.in"
source "package/lzlib/Config.in"
source "package/orbit/Config.in"
source "package/rings/Config.in"
new file mode 100644
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LUNIT
+ bool "lunit"
+ depends on !BR2_PACKAGE_LUA_5_2
+ help
+ A unit testing framework for Lua.
+
+ http://www.mroth.net/lunit/
+
+comment "lunit needs a Lua 5.1 interpreter"
+ depends on BR2_PACKAGE_LUA_5_2
new file mode 100644
@@ -0,0 +1,13 @@
+#############################################################
+#
+# lunit
+#
+#############################################################
+
+LUNIT_VERSION_UPSTREAM = 0.5
+LUNIT_VERSION = $(LUNIT_VERSION_UPSTREAM)-2
+LUNIT_SUBDIR = lunit-$(LUNIT_VERSION_UPSTREAM)
+LUNIT_LICENSE = MIT
+LUNIT_LICENSE_FILES = $(LUNIT_SUBDIR)/LICENSE
+
+$(eval $(luarocks-package))
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> --- package/Config.in | 1 + package/lunit/Config.in | 10 ++++++++++ package/lunit/lunit.mk | 13 +++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 package/lunit/Config.in create mode 100644 package/lunit/lunit.mk