luadbi: new package
authorFrancois Perrad <fperrad@gmail.com>
Sat, 9 Dec 2017 09:17:10 +0000 (10:17 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 14 Dec 2017 05:49:57 +0000 (06:49 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/luadbi/Config.in [new file with mode: 0644]
package/luadbi/luadbi.hash [new file with mode: 0644]
package/luadbi/luadbi.mk [new file with mode: 0644]

index c3ebbfc8c4f14fa5b0c97781efd9446e58656e59..91760efd98a1bb5801a2607ad370da18fc455c2a 100644 (file)
@@ -606,6 +606,7 @@ menu "Lua libraries/modules"
        source "package/lua-testmore/Config.in"
        source "package/luabitop/Config.in"
        source "package/luacrypto/Config.in"
+       source "package/luadbi/Config.in"
        source "package/luaexpat/Config.in"
        source "package/luaexpatutils/Config.in"
        source "package/luafilesystem/Config.in"
diff --git a/package/luadbi/Config.in b/package/luadbi/Config.in
new file mode 100644 (file)
index 0000000..2e29058
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LUADBI
+       bool "luadbi"
+       help
+         LuaDBI is a database interface library for Lua.
+         It is designed to provide a RDBMS agnostic API for handling
+         database operations. LuaDBI also provides support for
+         prepared statement handles, placeholders and bind parameters
+         for all database operations.
+
+         https://github.com/mwild1/luadbi
diff --git a/package/luadbi/luadbi.hash b/package/luadbi/luadbi.hash
new file mode 100644 (file)
index 0000000..e5c022b
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 723f63b744b7367ddfd6bbf7a7e6f6867aa1eaabbbc2bab5dc8a90e80b0c34c2  luadbi-0.6-2.src.rock
diff --git a/package/luadbi/luadbi.mk b/package/luadbi/luadbi.mk
new file mode 100644 (file)
index 0000000..268e0e6
--- /dev/null
@@ -0,0 +1,12 @@
+################################################################################
+#
+# luadbi
+#
+################################################################################
+
+LUADBI_VERSION = 0.6-2
+LUADBI_LICENSE = MIT
+LUADBI_SUBDIR = luadbi
+LUADBI_LICENSE_FILES = $(LUADBI_SUBDIR)/COPYING
+
+$(eval $(luarocks-package))