Bläddra i källkod

lua-fifo: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Francois Perrad 7 år sedan
förälder
incheckning
fbb48301ad
4 ändrade filer med 23 tillägg och 0 borttagningar
  1. 1 0
      package/Config.in
  2. 6 0
      package/lua-fifo/Config.in
  3. 2 0
      package/lua-fifo/lua-fifo.hash
  4. 14 0
      package/lua-fifo/lua-fifo.mk

+ 1 - 0
package/Config.in

@@ -583,6 +583,7 @@ menu "Lua libraries/modules"
 	source "package/lua-curl/Config.in"
 	source "package/lua-datafile/Config.in"
 	source "package/lua-ev/Config.in"
+	source "package/lua-fifo/Config.in"
 	source "package/lua-flu/Config.in"
 	source "package/lua-iconv/Config.in"
 	source "package/lua-markdown/Config.in"

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

@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LUA_FIFO
+	bool "lua-fifo"
+	help
+	  A lua library/'class' that implements a FIFO.
+
+	  https://github.com/daurnimator/fifo.lua

+ 2 - 0
package/lua-fifo/lua-fifo.hash

@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 53dea24ad658614a0254dcb10296a1a0fc5357315ada5724d6362f54c32b4c20  fifo-0.2-0.src.rock

+ 14 - 0
package/lua-fifo/lua-fifo.mk

@@ -0,0 +1,14 @@
+################################################################################
+#
+# lua-fifo
+#
+################################################################################
+
+LUA_FIFO_VERSION_UPSTREAM =0.2
+LUA_FIFO_VERSION =$(LUA_FIFO_VERSION_UPSTREAM)-0
+LUA_FIFO_NAME_UPSTREAM = fifo
+LUA_FIFO_SUBDIR = fifo.lua-$(LUA_FIFO_VERSION_UPSTREAM)
+LUA_FIFO_LICENSE = MIT
+LUA_FIFO_LICENSE_FILES = $(LUA_FIFO_SUBDIR)/LICENSE
+
+$(eval $(luarocks-package))