lua-coatpersistent: bump to version 0.2.1
authorFrancois Perrad <fperrad@gmail.com>
Wed, 24 Dec 2014 09:10:39 +0000 (10:10 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 24 Dec 2014 11:00:51 +0000 (12:00 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lua-coatpersistent/Config.in
package/lua-coatpersistent/lua-coatpersistent.mk

index 86cddda2cdbcda872c79dd5491a2d54bc99e2e43..a0f5bdc0d0d8e815ceb3abd3ef818f44fa78780d 100644 (file)
@@ -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
index 35035e936612099d8d2be2364ff8d7b9a038f8c3..be8a4da468d5995684db9ad65dc274af8041c856 100644 (file)
@@ -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