summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2017-11-24 06:55:20 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-12-07 18:31:58 +0100
commitdfc8eb86637228983f1a5b80cae4f13a1f6699dd (patch)
tree716d5c98b8a6ef4c68d177e4c77f870d8414df2f /dev-libs
parentapp-portage/unsymlink-lib: SYMLINK_LIB=no migration tool (diff)
downloadgentoo-dfc8eb86637228983f1a5b80cae4f13a1f6699dd.tar.gz
gentoo-dfc8eb86637228983f1a5b80cae4f13a1f6699dd.tar.bz2
gentoo-dfc8eb86637228983f1a5b80cae4f13a1f6699dd.zip
dev-libs/libbson: version bump to 1.8.2.
Closes: https://bugs.gentoo.org/635726 Closes: https://github.com/gentoo/gentoo/pull/6067 Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libbson/Manifest1
-rw-r--r--dev-libs/libbson/libbson-1.8.2.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/libbson/Manifest b/dev-libs/libbson/Manifest
index ceaf8f15d97d..e52b9eb2222b 100644
--- a/dev-libs/libbson/Manifest
+++ b/dev-libs/libbson/Manifest
@@ -4,3 +4,4 @@ DIST libbson-1.1.2.tar.gz 4492014 SHA256 acd8026d4e5bf5034b699af136236a8a38c0661
DIST libbson-1.3.5.tar.gz 4547720 SHA256 d380cfc30bbb598e64bc5e4b0851f9e8343071292a9e0a101f49ec06211a1b23 SHA512 b55ae1d424f786aabed6567a77cd09aa26c74ab0a09392e88faef8c156b1650c026f86f245bc8431a0ebcf404c4f80eb1b22e978a24289d32692c84375a66596 WHIRLPOOL fb0d2f05e0a8c60da2d3277ec1413799b8e45c23e408fdd136b3ebe4f6e74ed7d58d767792f1d6454bb6e61785f7ae624ff655b94f39ef6007e1f248caf7cad5
DIST libbson-1.3.6.tar.gz 4546329 SHA256 77b4f41154457d56e5b837a1a770800e96f3c30a67f6e5a439bf336a2124fbb4 SHA512 a7da914ed0f03212d4fb01879543f0b2c7629923e33200fe30335a9a90a1082ffa2566c7a556b90a6c7ffbef5665a45ec67f87ffff2a5fcb89830769b1df5130 WHIRLPOOL b86efef2e3841b66ef425c022c1e60a32d6fd02d3cbc0af22c28ac5f6e6eeabb709aa06a353f2e0ed8af0ebf65da6d660edb09523ec196ac0a5f7006be4d998b
DIST libbson-1.6.2.tar.gz 4835257 SHA256 aad410123e4bd8a9804c3c3d79e03344e2df104872594dc2cf19605d492944ba SHA512 f95f5bb829cff3aac6c1d95a159e38396d8fccef66d3026dac8085ba13ec376274cddeb92277d711ac4d40cafd8b89b73e9a9d1cf29e22f7f79aa9422c69488b WHIRLPOOL c82ad25eda07e0acbd793ee16814e1748076b88f552aeed26300a100bf79131d3a79038ce769cffb4722478edc83f55a854c6d08026c09e87f2ee855c559829f
+DIST libbson-1.8.2.tar.gz 4885188 BLAKE2B bd867dc2b93fbc45d155e0433cf20202ccabc8fc20414cf0dec9401242ed4469f89f067c56a9c1e304bd2e806c94682fd9b7a26300f56f7da690338b8df72811 SHA512 a0d9e0e3acdeb03f2de4507330cda36b2bcdeb2420ab4a0b342fe666799113f4384859af70d02d3c01ef1e4e0b8f2a06732ed14f86b386452508c680acb9b94d
diff --git a/dev-libs/libbson/libbson-1.8.2.ebuild b/dev-libs/libbson/libbson-1.8.2.ebuild
new file mode 100644
index 000000000000..1cbd090d5d82
--- /dev/null
+++ b/dev-libs/libbson/libbson-1.8.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A BSON utility library"
+HOMEPAGE="https://github.com/mongodb/libbson"
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples static-libs"
+
+src_configure() {
+ econf --disable-optimizations \
+ $(use_enable debug) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ # Installing all the manuals conflicts with man-pages
+ doman doc/man/bson_*.3
+
+ if ! use static-libs; then
+ find "${D}" -name '*.la' -delete || die
+ fi
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.c
+ fi
+
+ einstalldocs
+}
+
+src_test() {
+ emake test
+}