summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-12-24 10:10:39 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-24 12:00:51 +0100
commitaeb3f480c69e93b4ad2af6a172a0c554e4c67092 (patch)
tree787ff0f8281e2d0dd6ce6a28577ff7ace6c17aae
parent5e4a7332f699d154412722aa14b92699ddc0ac8e (diff)
lua-coatpersistent: bump to version 0.2.1
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/lua-coatpersistent/Config.in4
-rw-r--r--package/lua-coatpersistent/lua-coatpersistent.mk8
2 files changed, 10 insertions, 2 deletions
diff --git a/package/lua-coatpersistent/Config.in b/package/lua-coatpersistent/Config.in
index 86cddda2c..a0f5bdc0d 100644
--- a/package/lua-coatpersistent/Config.in
+++ b/package/lua-coatpersistent/Config.in
@@ -3,7 +3,11 @@ config BR2_PACKAGE_LUA_COATPERSISTENT
# run-time dependencies
select BR2_PACKAGE_DADO
select BR2_PACKAGE_LUA_COAT
+ depends on BR2_PACKAGE_LSQLITE3 || BR2_PACKAGE_LUASQL_SQLITE3
help
An ORM for lua-Coat.
http://fperrad.github.io/lua-CoatPersistent/
+
+comment "lua-coatpersistent needs lsqlite3 or luasql-sqlite3"
+ depends on !BR2_PACKAGE_LSQLITE3 && !BR2_PACKAGE_LUASQL_SQLITE3
diff --git a/package/lua-coatpersistent/lua-coatpersistent.mk b/package/lua-coatpersistent/lua-coatpersistent.mk
index 35035e936..be8a4da46 100644
--- a/package/lua-coatpersistent/lua-coatpersistent.mk
+++ b/package/lua-coatpersistent/lua-coatpersistent.mk
@@ -4,8 +4,12 @@
#
################################################################################
-LUA_COATPERSISTENT_VERSION_UPSTREAM = 0.2.0
-LUA_COATPERSISTENT_VERSION = $(LUA_COATPERSISTENT_VERSION_UPSTREAM)-1
+LUA_COATPERSISTENT_VERSION_UPSTREAM = 0.2.1
+ifeq ($(BR2_PACKAGE_LSQLITE3),y)
+LUA_COATPERSISTENT_VERSION = lsqlite3-$(LUA_COATPERSISTENT_VERSION_UPSTREAM)-1
+else
+LUA_COATPERSISTENT_VERSION = luasql-$(LUA_COATPERSISTENT_VERSION_UPSTREAM)-1
+endif
LUA_COATPERSISTENT_SUBDIR = lua-CoatPersistent-$(LUA_COATPERSISTENT_VERSION_UPSTREAM)
LUA_COATPERSISTENT_LICENSE = MIT
LUA_COATPERSISTENT_LICENSE_FILES = $(LUA_COATPERSISTENT_SUBDIR)/COPYRIGHT