diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-06 16:24:00 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-06 16:34:40 +0200 |
commit | ab37c6df984f7f609b4d291577f7af4eb80db934 (patch) | |
tree | 113abfbc683986509947165cc71b1631d4af0d2e /dev-libs/libbson/libbson-1.17.0.ebuild | |
parent | dev-libs/mongo-c-driver: bump to v1.17.0 (diff) | |
download | gentoo-ab37c6df984f7f609b4d291577f7af4eb80db934.tar.gz gentoo-ab37c6df984f7f609b4d291577f7af4eb80db934.tar.bz2 gentoo-ab37c6df984f7f609b4d291577f7af4eb80db934.zip |
dev-libs/libbson: bump to v1.17.0
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/libbson/libbson-1.17.0.ebuild')
-rw-r--r-- | dev-libs/libbson/libbson-1.17.0.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libbson/libbson-1.17.0.ebuild b/dev-libs/libbson/libbson-1.17.0.ebuild new file mode 100644 index 000000000000..d29735c6690e --- /dev/null +++ b/dev-libs/libbson/libbson-1.17.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Library routines related to building,parsing and iterating BSON documents" +HOMEPAGE="https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson" +SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/mongo-c-driver-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="examples static-libs" + +DEPEND="dev-python/sphinx" + +PATCHES=( + "${FILESDIR}/${PN}-1.14.0-no-docs.patch" + "${FILESDIR}/${PN}-1.16.2-sphinx.patch" +) + +S="${WORKDIR}/mongo-c-driver-${PV}" + +src_configure() { + local mycmakeargs=( + -DENABLE_BSON=ON + -DENABLE_EXAMPLES=OFF + -DENABLE_MAN_PAGES=ON + -DENABLE_MONGOC=OFF + -DENABLE_TESTS=OFF + -DENABLE_STATIC="$(usex static-libs ON OFF)" + -DENABLE_UNINSTALL=OFF + ) + + cmake-utils_src_configure +} + +src_install() { + if use examples; then + docinto examples + dodoc src/libbson/examples/*.c + fi + + cmake-utils_src_install +} |