All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/libodb-boost: new package
@ 2020-07-12 13:42 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2020-07-12 13:42 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=00190226bb95f49d9cd2933c4dd53e981b3c108f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This package contains the Boost ODB profile library. The Boost profile
provides support for persisting Boost smart pointers, containers, and
value types with the ODB system.

Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 DEVELOPERS                             |  1 +
 package/Config.in                      |  1 +
 package/libodb-boost/Config.in         | 16 ++++++++++++++++
 package/libodb-boost/libodb-boost.hash |  6 ++++++
 package/libodb-boost/libodb-boost.mk   | 16 ++++++++++++++++
 5 files changed, 40 insertions(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index c615ee3500..203c4546af 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1435,6 +1435,7 @@ N:	Justin Maggard <jmaggard@netgear.com>
 F:	package/dtach/
 
 N:	Kamel Bouhara <kamel.bouhara@gmail.com>
+F:	package/libodb-boost/
 F:	package/libodb-mysql/
 
 N:	Karoly Kasza <kaszak@gmail.com>
diff --git a/package/Config.in b/package/Config.in
index e845d1c970..ca781de0ac 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1351,6 +1351,7 @@ menu "Database"
 	source "package/leveldb/Config.in"
 	source "package/libgit2/Config.in"
 	source "package/libodb/Config.in"
+	source "package/libodb-boost/Config.in"
 	source "package/libodb-mysql/Config.in"
 	source "package/libodb-pgsql/Config.in"
 	source "package/libpqxx/Config.in"
diff --git a/package/libodb-boost/Config.in b/package/libodb-boost/Config.in
new file mode 100644
index 0000000000..ada87738d8
--- /dev/null
+++ b/package/libodb-boost/Config.in
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_LIBODB_BOOST
+	bool "libodb-boost"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_BOOST
+	select BR2_PACKAGE_LIBODB
+	help
+	  This package contains the common ODB runtime library. Every
+	  application that includes code generated by the ODB compiler
+	  will need to link to this library.
+
+	  https://www.codesynthesis.com/products/odb/
+
+comment "libodb-boost needs a toolchain w/ C++, threads"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_PACKAGE_BOOST
diff --git a/package/libodb-boost/libodb-boost.hash b/package/libodb-boost/libodb-boost.hash
new file mode 100644
index 0000000000..622067c363
--- /dev/null
+++ b/package/libodb-boost/libodb-boost.hash
@@ -0,0 +1,6 @@
+# From https://www.codesynthesis.com/projects/libcutl/
+sha1  f813702b2856732e199ae34e3393b8cecff878ef  libodb-boost-2.4.0.tar.bz2
+
+# Locally computed
+sha256  b41bd4aaa3f3c9563cfa41bae19bda1bbcc3652e4430b4ebb1819eef2ffcadf4  libodb-boost-2.4.0.tar.bz2
+sha256  841105a470fc283851c63941510ffd403c726d1910b688f7df95914ab8b1b5a3  LICENSE
diff --git a/package/libodb-boost/libodb-boost.mk b/package/libodb-boost/libodb-boost.mk
new file mode 100644
index 0000000000..679c9d7a38
--- /dev/null
+++ b/package/libodb-boost/libodb-boost.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# libodb-boost
+#
+################################################################################
+
+LIBODB_BOOST_VERSION_MAJOR = 2.4
+LIBODB_BOOST_VERSION = $(LIBODB_BOOST_VERSION_MAJOR).0
+LIBODB_BOOST_SOURCE = libodb-boost-$(LIBODB_BOOST_VERSION).tar.bz2
+LIBODB_BOOST_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_BOOST_VERSION_MAJOR)
+LIBODB_BOOST_INSTALL_STAGING = YES
+LIBODB_BOOST_LICENSE = GPL-2.0
+LIBODB_BOOST_LICENSE_FILES = LICENSE
+LIBODB_BOOST_DEPENDENCIES = boost libodb
+
+$(eval $(autotools-package))

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-12 13:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12 13:42 [Buildroot] [git commit] package/libodb-boost: new package Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.