[dev-libs/libbson] bump, for mongodb6 (or 7, who knows)
This commit is contained in:
parent
203e31cda5
commit
8fe813c80f
1
dev-libs/libbson/Manifest
Normal file
1
dev-libs/libbson/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST mongo-c-driver-1.27.2.tar.gz 7215536 BLAKE2B 960a846470f325c9b629f7578e474e7cf40a0cbf5493e4c4e487b00b119618085672d6276a5a277383ee7032c54e64dfc668d125268ae963211301ce8b1381b9 SHA512 b2b00aeafb3e639ced89e1e5fee6e3a72167322acbb49dce06514271af2041713373ce1b941bdf1b94a518e93f4baca1c55c5c6e5cec33ff72916dace2c2be09
|
49
dev-libs/libbson/libbson-1.27.2.ebuild
Normal file
49
dev-libs/libbson/libbson-1.27.2.ebuild
Normal file
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
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/archive/refs/tags/${PV}.tar.gz -> mongo-c-driver-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~hppa ~loong ~ppc ~riscv ~sparc ~x86"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
BDEPEND="dev-python/sphinx"
|
||||
|
||||
S="${WORKDIR}/mongo-c-driver-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# remove doc files
|
||||
sed -i '/^\s*install\s*(FILES COPYING NEWS/,/^\s*)/ {d}' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
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_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc src/libbson/examples/*.c
|
||||
fi
|
||||
|
||||
cmake_src_install
|
||||
}
|
11
dev-libs/libbson/metadata.xml
Normal file
11
dev-libs/libbson/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ultrabug@gentoo.org</email>
|
||||
<name>Ultrabug</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">mongodb/mongo-c-driver</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user