mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/4] sqlitecpp: new package
@ 2019-08-28 13:58 Roland Hieber
  2019-08-28 13:58 ` [ptxdist] [PATCH 2/4] host-swig: version bump 2.0.9 -> 3.0.8 Roland Hieber
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Roland Hieber @ 2019-08-28 13:58 UTC (permalink / raw)
  To: ptxdist; +Cc: Chetan Dayananda, Roland Hieber

SQLiteC++ offers an encapsulation around the native C APIs of SQLite,
with a few intuitive and well documented C++ classes.

The library is only built statically, so there is no need to
targetinstall anything.

Based on a patch by Chetan Dayananda.

Cc: Chetan Dayananda <chetan.dayananda@in.bosch.com>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 rules/sqlitecpp.in   | 11 +++++++++++
 rules/sqlitecpp.make | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 rules/sqlitecpp.in
 create mode 100644 rules/sqlitecpp.make

diff --git a/rules/sqlitecpp.in b/rules/sqlitecpp.in
new file mode 100644
index 000000000000..e6a662337029
--- /dev/null
+++ b/rules/sqlitecpp.in
@@ -0,0 +1,11 @@
+## SECTION=system_libraries
+
+config SQLITECPP
+	bool
+	prompt "sqlitecpp"
+	select HOST_CMAKE
+	select SQLITE
+	select SQLITE_LOAD_EXTENSION
+	help
+	  SQLiteC++ offers an encapsulation around the native C APIs of SQLite,
+	  with a few intuitive and well documented C++ classes.
diff --git a/rules/sqlitecpp.make b/rules/sqlitecpp.make
new file mode 100644
index 000000000000..5d1b74d60c8e
--- /dev/null
+++ b/rules/sqlitecpp.make
@@ -0,0 +1,39 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Chetan Dayananda <chetan.dayananda@in.bosch.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_SQLITECPP) += sqlitecpp
+
+#
+# Paths and names
+#
+SQLITECPP_VERSION   := 2.4.0
+SQLITECPP_MD5       := aa0da9aa79bd76bc09446de418b6be08
+SQLITECPP           := sqlitecpp-$(SQLITECPP_VERSION)
+SQLITECPP_SUFFIX    := tar.gz
+SQLITECPP_URL       := https://github.com/SRombauts/SQLiteCpp/archive/$(SQLITECPP_VERSION).$(SQLITECPP_SUFFIX)
+SQLITECPP_SOURCE    := $(SRCDIR)/$(SQLITECPP).tar.gz
+SQLITECPP_DIR       := $(BUILDDIR)/$(SQLITECPP)
+SQLITECPP_LICENSE   := MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+SQLITECPP_CONF_TOOL := cmake
+SQLITECPP_CONF_OPT  := $(CROSS_CMAKE_USR) -DSQLITECPP_INTERNAL_SQLITE=OFF
+
+#
+# No Target-Install stage because the package only builds a static lib.
+#
+
+# vim: syntax=make
-- 
2.23.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-01 20:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28 13:58 [ptxdist] [PATCH 1/4] sqlitecpp: new package Roland Hieber
2019-08-28 13:58 ` [ptxdist] [PATCH 2/4] host-swig: version bump 2.0.9 -> 3.0.8 Roland Hieber
2019-09-01 20:31   ` [ptxdist] [PATCH v2 " Roland Hieber
2019-08-28 13:58 ` [ptxdist] [PATCH 3/4] host-python-setuptools: version bump 17.0 -> 41.2.0 Roland Hieber
2019-08-28 13:58 ` [ptxdist] [PATCH 4/4] python-pyro: new package Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox