summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-02-24 07:35:00 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-01 15:55:24 (GMT)
commit1175750dcece1f2de026c8fec473816a1bb8b422 (patch)
tree528315bc9026653255d7314c2e1fd9def9ee84b5
parent8bfb7c2df64ec670052a761ba3c7361f01e9584a (diff)
downloadbuildroot-1175750dcece1f2de026c8fec473816a1bb8b422.tar.gz
buildroot-1175750dcece1f2de026c8fec473816a1bb8b422.tar.bz2
lsqlite3: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/lsqlite3/Config.in8
-rw-r--r--package/lsqlite3/lsqlite3.mk12
3 files changed, 21 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index fa9aaa0..730f7da 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -378,6 +378,7 @@ source "package/ljsyscall/Config.in"
source "package/lpeg/Config.in"
source "package/lpty/Config.in"
source "package/lrandom/Config.in"
+source "package/lsqlite3/Config.in"
source "package/lua-cjson/Config.in"
source "package/lua-coat/Config.in"
source "package/lua-coatpersistent/Config.in"
diff --git a/package/lsqlite3/Config.in b/package/lsqlite3/Config.in
new file mode 100644
index 0000000..e19c789
--- /dev/null
+++ b/package/lsqlite3/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LSQLITE3
+ bool "lsqlite3"
+ select BR2_PACKAGE_SQLITE
+ depends on BR2_PACKAGE_HAS_LUA_INTERPRETER
+ help
+ a thin Lua wrapper for the SQLite3 library.
+
+ http://lua.sqlite.org/
diff --git a/package/lsqlite3/lsqlite3.mk b/package/lsqlite3/lsqlite3.mk
new file mode 100644
index 0000000..f02aa4c
--- /dev/null
+++ b/package/lsqlite3/lsqlite3.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# lsqlite3
+#
+################################################################################
+
+LSQLITE3_VERSION = 0.9.1-2
+LSQLITE3_SUBDIR = lsqlite3_fsl09t
+LSQLITE3_DEPENDENCIES = sqlite
+LSQLITE3_LICENSE = MIT
+
+$(eval $(luarocks-package))