diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
commit | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch) | |
tree | c18e1c09e605e94e2a1e93345ad25746cc9e14b9 /dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild | |
parent | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff) |
gentoo resync : 02.06.2019
Diffstat (limited to 'dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild')
-rw-r--r-- | dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild b/dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild new file mode 100644 index 000000000000..2bf8b35e8ddc --- /dev/null +++ b/dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Memory efficient serialization library" +HOMEPAGE="https://google.github.io/flatbuffers/" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs test" + +DOCS=( readme.md ) + +src_configure() { + local mycmakeargs=( + -DFLATBUFFERS_BUILD_FLATLIB=$(usex static-libs) + -DFLATBUFFERS_BUILD_SHAREDLIB=ON + -DFLATBUFFERS_BUILD_TESTS=$(usex test) + ) + + use elibc_musl && mycmakeargs+=( -DFLATBUFFERS_LOCALE_INDEPENDENT=0 ) + + cmake-utils_src_configure +} |