From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sun, 12 Jul 2020 13:00:39 +0200 Subject: [Buildroot] [git commit] package/libodb: new package Message-ID: <20200712133935.E5B608431A@busybox.osuosl.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net commit: https://git.buildroot.net/buildroot/commit/?id=47b64f738d1a6211e550d071a47ba6896aa0b92d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master 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. Signed-off-by: Adam Duskett [Kamel: - Fix incorrect license - Remove unneeded dependency on host-odb] Signed-off-by: Kamel Bouhara Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/libodb/Config.in | 13 +++++++++++++ package/libodb/libodb.hash | 6 ++++++ package/libodb/libodb.mk | 15 +++++++++++++++ 5 files changed, 36 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index 5c380628ef..bdb4473f3c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -45,6 +45,7 @@ F: package/janus-gateway/ F: package/json-for-modern-cpp/ F: package/libcpprestsdk/ F: package/libcutl/ +F: package/libodb/ F: package/libressl/ F: package/libselinux/ F: package/libsemanage/ diff --git a/package/Config.in b/package/Config.in index 6a34a895af..f7bba8d72e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1350,6 +1350,7 @@ menu "Database" source "package/kompexsqlite/Config.in" source "package/leveldb/Config.in" source "package/libgit2/Config.in" + source "package/libodb/Config.in" source "package/libpqxx/Config.in" source "package/mongodb/Config.in" source "package/mysql/Config.in" diff --git a/package/libodb/Config.in b/package/libodb/Config.in new file mode 100644 index 0000000000..8312f47353 --- /dev/null +++ b/package/libodb/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_LIBODB + bool "libodb" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + 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 needs a toolchain w/ C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/libodb/libodb.hash b/package/libodb/libodb.hash new file mode 100644 index 0000000000..cea5b9eda2 --- /dev/null +++ b/package/libodb/libodb.hash @@ -0,0 +1,6 @@ +# From https://www.codesynthesis.com/projects/libcutl/ +sha1 42bd2a8023e338e004711e755eb30bd122b844a6 libodb-2.4.0.tar.bz2 + +# Locally Computed +sha256 66a1bb4e8bb6ef60cc79334f8028c4d4de98d87f2ff6f8123b4cfb7751ce0007 libodb-2.4.0.tar.bz2 +sha256 841105a470fc283851c63941510ffd403c726d1910b688f7df95914ab8b1b5a3 LICENSE diff --git a/package/libodb/libodb.mk b/package/libodb/libodb.mk new file mode 100644 index 0000000000..f36d8957c0 --- /dev/null +++ b/package/libodb/libodb.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libodb +# +################################################################################ + +LIBODB_VERSION_MAJOR = 2.4 +LIBODB_VERSION = $(LIBODB_VERSION_MAJOR).0 +LIBODB_SOURCE = libodb-$(LIBODB_VERSION).tar.bz2 +LIBODB_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_VERSION_MAJOR) +LIBODB_INSTALL_STAGING = YES +LIBODB_LICENSE = GPL-2.0 +LIBODB_LICENSE_FILES = LICENSE + +$(eval $(autotools-package))