From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Roland Hieber Date: Wed, 28 Aug 2019 15:58:08 +0200 Message-Id: <20190828135811.5680-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 1/4] sqlitecpp: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de 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 Signed-off-by: Roland Hieber --- 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 +# +# 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