From: Kamel Bouhara <kamel.bouhara@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/6] package/libodb: new package
Date: Thu, 14 May 2020 16:33:22 +0200 [thread overview]
Message-ID: <20200514143325.1009253-4-kamel.bouhara@bootlin.com> (raw)
In-Reply-To: <20200514143325.1009253-1-kamel.bouhara@bootlin.com>
From: Adam Duskett <aduskett@gmail.com>
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 <aduskett@gmail.com>
[Kamel: Fix incorrect license, Remove false dependency on host-odb]
Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
---
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(+)
create mode 100644 package/libodb/Config.in
create mode 100644 package/libodb/libodb.hash
create mode 100644 package/libodb/libodb.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 66ce95b4e1..4c7c157e07 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -43,6 +43,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 edf7687ab7..3891b36282 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1804,6 +1804,7 @@ menu "Other"
source "package/libloki/Config.in"
source "package/libnpth/Config.in"
source "package/libnspr/Config.in"
+ source "package/libodb/Config.in"
source "package/libpfm4/Config.in"
source "package/libplatform/Config.in"
source "package/libplist/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))
--
2.25.0
next prev parent reply other threads:[~2020-05-14 14:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 14:33 [Buildroot] [PATCH 0/6] ODB: C++ Object-Relational Mapping (ORM): New packages Kamel Bouhara
2020-05-14 14:33 ` [Buildroot] [PATCH 1/6] package/libcutl: new package Kamel Bouhara
2020-05-14 14:33 ` [Buildroot] [PATCH 2/6] package/odb: " Kamel Bouhara
2020-05-14 14:52 ` Thomas Petazzoni
2020-05-19 7:19 ` Kamel Bouhara
2020-05-14 14:33 ` Kamel Bouhara [this message]
2020-05-14 14:33 ` [Buildroot] [PATCH 4/6] package/libodb-pgsql: " Kamel Bouhara
2020-05-14 14:54 ` Thomas Petazzoni
2020-05-14 14:33 ` [Buildroot] [PATCH 5/6] package/libodb-mysql: " Kamel Bouhara
2020-05-14 14:55 ` Thomas Petazzoni
2020-05-14 14:33 ` [Buildroot] [PATCH 6/6] package/libodb-boost: " Kamel Bouhara
2020-05-14 14:56 ` Thomas Petazzoni
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=20200514143325.1009253-4-kamel.bouhara@bootlin.com \
--to=kamel.bouhara@bootlin.com \
--cc=buildroot@busybox.net \
/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