瀏覽代碼

package/lua-lunitx: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Francois Perrad 5 年之前
父節點
當前提交
07e852abf9
共有 4 個文件被更改,包括 23 次插入0 次删除
  1. 1 0
      package/Config.in
  2. 6 0
      package/lua-lunitx/Config.in
  3. 3 0
      package/lua-lunitx/lua-lunitx.hash
  4. 13 0
      package/lua-lunitx/lua-lunitx.mk

+ 1 - 0
package/Config.in

@@ -622,6 +622,7 @@ menu "Lua libraries/modules"
 	source "package/lua-http/Config.in"
 	source "package/lua-iconv/Config.in"
 	source "package/lua-lpeg-patterns/Config.in"
+	source "package/lua-lunitx/Config.in"
 	source "package/lua-markdown/Config.in"
 	source "package/lua-messagepack/Config.in"
 	source "package/lua-msgpack-native/Config.in"

+ 6 - 0
package/lua-lunitx/Config.in

@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LUA_LUNITX
+	bool "lua-lunitx"
+	help
+	  Lunitx is a unit testing framework for lua, written in lua.
+
+	  https://github.com/dcurrie/lunit

+ 3 - 0
package/lua-lunitx/lua-lunitx.hash

@@ -0,0 +1,3 @@
+# computed by luarocks/buildroot
+sha256 2299facf4977f9b663e1ad402098139116a87a693c3df66e1f6b89e2cf47646f  lunitx-0.8-1.src.rock
+sha256 3fcfcd6010d73bc2b22505b6a91779022a82661809a3e4e0a0bdd7b3463def8f  lunit/LICENSE

+ 13 - 0
package/lua-lunitx/lua-lunitx.mk

@@ -0,0 +1,13 @@
+################################################################################
+#
+# lua-lunitx
+#
+################################################################################
+
+LUA_LUNITX_VERSION = 0.8-1
+LUA_LUNITX_NAME_UPSTREAM = lunitx
+LUA_LUNITX_SUBDIR = lunit
+LUA_LUNITX_LICENSE = MIT
+LUA_LUNITX_LICENSE_FILES = $(LUA_LUNITX_SUBDIR)/LICENSE
+
+$(eval $(luarocks-package))