kompexsqlite: new package
PATCH 1/1 kompexsqlite: new package
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/Config.in | 1 + ...kefile-use-autoconf-CXX-for-proper-builds.patch | 27 ++++++++++++++++++++++ package/kompexsqlite/Config.in | 12 ++++++++++ package/kompexsqlite/kompexsqlite.hash | 2 ++ package/kompexsqlite/kompexsqlite.mk | 14 +++++++++++ 5 files changed, 56 insertions(+) create mode 100644 package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch create mode 100644 package/kompexsqlite/Config.in create mode 100644 package/kompexsqlite/kompexsqlite.hash create mode 100644 package/kompexsqlite/kompexsqlite.mk
package/Config.in +1 -0
@@ -764,6 +764,7 @@ menu "Database" source "package/berkeleydb/Config.in" source "package/cppdb/Config.in" source "package/gdbm/Config.in" + source "package/kompexsqlite/Config.in" source "package/leveldb/Config.in" source "package/mysql/Config.in" source "package/postgresql/Config.in"
package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 769693d9ddf63b04dd4aad6cad080f3cee3f997e Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <[email protected]> +Date: Thu, 11 Jun 2015 14:08:38 -0300 +Subject: [PATCH] Makefile: use autoconf CXX for proper builds + +Status: applied upstream. + +Signed-off-by: Gustavo Zacarias <[email protected]> +--- + Makefile.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.in b/Makefile.in +index 91fb8b2..fe862cd 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -23,6 +23,7 @@ mandir = $(prefix)/share/man/man3 + headerdir = $(prefix)/include/kompex + + CC = @CC@ ++CXX = @CXX@ + CFLAGS = @CFLAGS@ + CPPFLAGS = $(CFLAGS) @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ +-- +2.3.6 +
package/kompexsqlite/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_KOMPEXSQLITE + bool "kompexsqlite" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS + help + The Kompex SQLite Wrapper is an open source C++ wrapper + library for SQLite. + + http://sqlitewrapper.kompex-online.com/index.php + +comment "kompexsqlite needs a toolchain w/ C++, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
package/kompexsqlite/kompexsqlite.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 73bec94fe5dd3a24bd8668b3a131a84dbe39a992579eebab1236aa0e73b2c9cc v1.10.12-1.tar.gz
package/kompexsqlite/kompexsqlite.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# kompexsqlite +# +################################################################################ + +KOMPEXSQLITE_VERSION = v1.10.12-1 +KOMPEXSQLITE_SOURCE = $(KOMPEXSQLITE_VERSION).tar.gz +KOMPEXSQLITE_SITE = https://github.com/Aethelflaed/kompex-sqlite-wrapper/archive +KOMPEXSQLITE_INSTALL_STAGING = YES +KOMPEXSQLITE_LICENSE = LGPLv3+ (wrapper), Public Domain (bundled sqlite) +KOMPEXSQLITE_LICENSE_FILES = LICENSE.txt + +$(eval $(autotools-package))
Signature · 1 line
2.4.6
Thomas Petazzoni
AppliedPATCH 1/1 kompexsqlite: new package
Dear Gustavo Zacarias,
Quoted 12 lines · Gustavo Zacarias
Signed-off-by Gustavo Zacarias <[email protected]>--- package/Config.in | 1 + ...kefile-use-autoconf-CXX-for-proper-builds.patch | 27 ++++++++++++++++++++++ package/kompexsqlite/Config.in | 12 ++++++++++ package/kompexsqlite/kompexsqlite.hash | 2 ++ package/kompexsqlite/kompexsqlite.mk | 14 +++++++++++ 5 files changed, 56 insertions(+) create mode 100644 package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch create mode 100644 package/kompexsqlite/Config.in create mode 100644 package/kompexsqlite/kompexsqlite.hash create mode 100644 package/kompexsqlite/kompexsqlite.mk
I've applied, thanks!
One thing that I wasn't sure about: the location in "Databases", and not somewhere under "Libraries". Because kompexsqlite is really only a library. But it's true that the sqlite package is also under "Databases" and even if it provides a sqlite3 command line tool, sqlite is mainly useful as a library.
So I've kept kompexsqlite with the other databases packages for now. If some people disagree, we can change it later.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com