package/lua-binaryheap: new package
authorFrancois Perrad <fperrad@gmail.com>
Thu, 28 Mar 2019 17:20:45 +0000 (18:20 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 28 Mar 2019 17:54:59 +0000 (18:54 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/Config.in
package/lua-binaryheap/Config.in [new file with mode: 0644]
package/lua-binaryheap/lua-binaryheap.hash [new file with mode: 0644]
package/lua-binaryheap/lua-binaryheap.mk [new file with mode: 0644]

index f73c8cbffce4444ba90d840cf064102b409b014d..512eed7eaaa98a16a8d631bbd32189ee24602718 100644 (file)
@@ -603,6 +603,7 @@ menu "Lua libraries/modules"
        source "package/lrandom/Config.in"
        source "package/lsqlite3/Config.in"
        source "package/lua-basexx/Config.in"
+       source "package/lua-binaryheap/Config.in"
        source "package/lua-bit32/Config.in"
        source "package/lua-cjson/Config.in"
        source "package/lua-coat/Config.in"
diff --git a/package/lua-binaryheap/Config.in b/package/lua-binaryheap/Config.in
new file mode 100644 (file)
index 0000000..fa0b304
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LUA_BINARYHEAP
+       bool "lua-binaryheap"
+       help
+         Binary heap implementation in pure Lua.
+
+         https://github.com/Tieske/binaryheap.lua
diff --git a/package/lua-binaryheap/lua-binaryheap.hash b/package/lua-binaryheap/lua-binaryheap.hash
new file mode 100644 (file)
index 0000000..3713ea3
--- /dev/null
@@ -0,0 +1,2 @@
+# computed by luarocks/buildroot
+sha256 ecce14dedfa7a1938aa2383c83036b98461876934f169384a2cec6bb46462d87  binaryheap-0.4-1.src.rock
diff --git a/package/lua-binaryheap/lua-binaryheap.mk b/package/lua-binaryheap/lua-binaryheap.mk
new file mode 100644 (file)
index 0000000..56958e6
--- /dev/null
@@ -0,0 +1,12 @@
+################################################################################
+#
+# lua-binaryheap
+#
+################################################################################
+
+LUA_BINARYHEAP_VERSION = 0.4-1
+LUA_BINARYHEAP_NAME_UPSTREAM = binaryheap
+LUA_BINARYHEAP_SUBDIR = binaryheap.lua-version_0v4
+LUA_BINARYHEAP_LICENSE = MIT
+
+$(eval $(luarocks-package))