[Buildroot] [PATCH 6/6] package/libodb-boost: new package

Thomas Petazzoni
2020-05-14T14:56:05Z

Hello,

On Thu, 14 May 2020 16:33:25 +0200
Kamel Bouhara <kamel.bouhara@bootlin.com> wrote:

> diff --git a/package/libodb-boost/Config.in b/package/libodb-boost/Config.in
> new file mode 100644
> index 0000000000..0456f28d82
> --- /dev/null
> +++ b/package/libodb-boost/Config.in
> @@ -0,0 +1,15 @@
> +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.mk b/package/libodb-boost/libodb.mk
> new file mode 100644
> index 0000000000..b99d50fe9f
> --- /dev/null
> +++ b/package/libodb-boost/libodb.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# 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

No dependency on boost and/or libodb ?

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering