mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Chetan Dayananda <chetan.dayananda@in.bosch.com>,
	Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH 1/4] sqlitecpp: new package
Date: Wed, 28 Aug 2019 15:58:08 +0200	[thread overview]
Message-ID: <20190828135811.5680-1-rhi@pengutronix.de> (raw)

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

             reply	other threads:[~2019-08-28 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28 13:58 Roland Hieber [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190828135811.5680-1-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=chetan.dayananda@in.bosch.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox