summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2014-07-23 15:58:31 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2014-07-23 15:58:31 +0000
commit72d6ed7cb6496138ef033a32e24eb1429de11fcc (patch)
tree5b100cc497b34a5f2499a6546dae93139cb42b5e /dev-libs/libbson
parentnew dev-libs/libbson ebuild thx to Johan Bergstrom in #505280 (diff)
downloadhistorical-72d6ed7cb6496138ef033a32e24eb1429de11fcc.tar.gz
historical-72d6ed7cb6496138ef033a32e24eb1429de11fcc.tar.bz2
historical-72d6ed7cb6496138ef033a32e24eb1429de11fcc.zip
new dev-libs/libbson ebuild thx to Johan Bergstrom in #505280
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xB658FA13
Diffstat (limited to 'dev-libs/libbson')
-rw-r--r--dev-libs/libbson/Manifest14
-rw-r--r--dev-libs/libbson/libbson-0.98.0.ebuild47
-rw-r--r--dev-libs/libbson/metadata.xml16
3 files changed, 75 insertions, 2 deletions
diff --git a/dev-libs/libbson/Manifest b/dev-libs/libbson/Manifest
index 312e5ac28844..7a8c59313af2 100644
--- a/dev-libs/libbson/Manifest
+++ b/dev-libs/libbson/Manifest
@@ -1,4 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST libbson-0.98.0.tar.gz 4451923 SHA256 5e792a3c4d296a8b9e4316f1c58e94819223c4512ba4a790cf9e7086ef614995 SHA512 9bae7593198c8ac358978bd6a065d65fb872a15fd43d11839ad5dff1ffbe0362b06cd4bde08032a2c11e8633789328b5d504cd032b7636dc525f6df3e6fd641d WHIRLPOOL ed6350ef59fa596f6414010362999896648c491a906b4ad9f5e11bac549acf975083d3b6ea8d4e0eff0e3ae35a7db784303120d3855b7f2bb21373a318f44516
-EBUILD libbson-0.98.0.ebuild 982 SHA256 e797e5f0141b022331c72388369a27f0db4d5636eabcfd678cb93c63c069e1d4 SHA512 811cb6bc5823dc12e6318d84e332350e752ad4918e3fb1874842ea18692d20e6a173886071443dbd4ae8235a99429096882fd6597f6269d3ad83330b5d187a6e WHIRLPOOL f7cf9eadb44e4dd06decaddd4a636917cb9ac134c356ce7f26b3e8eef0011463ce3d9144ed85e94e429f9baccb4f9d9ed45f69fbbe95a37ed1a85ed0be89e694
-MISC ChangeLog 288 SHA256 20fc2cc2704a2571ff9dd7cd3636e5d5b0920eb2affda6ed9528feeb9feaf898 SHA512 146693806511f13d2f5aff2f60c4ee6277bff114a26c3255d631627c6fb50696f89e818430529cf616fd33a891943eb2747992b583ad32a157fde8889d9abb87 WHIRLPOOL 6852f0ee65b924f00cc928db5eea7a3a1d3effdc2f33c8de013e073e73a1ca8838e37b40466533855ba8084e6785185555530574487f9a200f958c9c2c852912
+EBUILD libbson-0.98.0.ebuild 1084 SHA256 5eaaeccf63c47699499567a3ae006f256a2b715046fe0bfeb519d28b702f17ab SHA512 55e7fe852a1709f66e83a85b1ba9d1a6870a1c0c77279d29cfbc4a6faf335d78dbbe91d61bb1ec99517c666ace038f497408f1caa4a363153029b05ba3f8ebc7 WHIRLPOOL 49c0ac0a781257fe93c13ec4871194cf4dea2e20ff7baee42498297f1e887da8714830a0f1e8b9d055f9733681e1084d895cbf830a295f4045a4d6540e457025
+MISC ChangeLog 378 SHA256 a0b81e9b6fcefc664b7a1a56eca427e3f7e800e744c7ff766115326e420acd5c SHA512 1039dcf772af183a702d1ca63aaa916a5e39161df43e5c2a870c7c027255b7cb957f309f616fae74684df7fc93f735b703e35dc96b1dc9841f1ed54ff61d541e WHIRLPOOL 8bfead48a53fbbb7485fa15266c1572b2d8223b857b0b967ca240e79c996688552523988dbc74844fcecac46ef9c5744295f6ef90a167e31dbf925188921bc27
MISC metadata.xml 487 SHA256 e6538d8921849eaa630d696f25e089c02f491ea1cb84a32030485b8177e2d12c SHA512 2bbaa1bbf8a002e9ad42a6bc9006ef0210d42342747fe05884f3471c93cea17499c2ab398ad39bc7d741c4c240e72dde7bfbe2f29bcab0ff8a83056484922804 WHIRLPOOL 8b01c802ecf78af6540ed0db641478942baefd428d3175da3320814b27be6d9f9f2b60953d950ba8e0c34d652ad27dac5bccb824c0b065930cfd690db5db2abc
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iF4EAREIAAYFAlPP26UACgkQKiQSS7ZY+hNaKAD/aEnqJS2usk2KyXSiTrfJz10T
+vs+4E1WC2YiHCWVk6bkA/jRlbkclqNtMb3LyiXpdeLBFMYIRpp7MT5KJBI1DpHC5
+=ItnQ
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libbson/libbson-0.98.0.ebuild b/dev-libs/libbson/libbson-0.98.0.ebuild
new file mode 100644
index 000000000000..520549482ac3
--- /dev/null
+++ b/dev-libs/libbson/libbson-0.98.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbson/libbson-0.98.0.ebuild,v 1.1 2014/07/23 15:58:23 ultrabug Exp $
+
+EAPI=5
+
+inherit autotools eutils
+
+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 ~x86"
+IUSE="debug examples static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS NEWS README )
+
+src_prepare() {
+ # https://github.com/mongodb/mongo-c-driver/issues/54
+ sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/bson/Makefile.am \
+ tests/Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-hardening \
+ --disable-optimizations \
+ $(use_enable debug) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ doman doc/*.3
+
+ use static-libs || find "${D}" -name '*.la' -delete
+
+ if use examples; then
+ insinto /usr/share/${PF}/examples
+ doins examples/*.c
+ fi
+}
diff --git a/dev-libs/libbson/metadata.xml b/dev-libs/libbson/metadata.xml
new file mode 100644
index 000000000000..7d07a3714e3f
--- /dev/null
+++ b/dev-libs/libbson/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>ultrabug@gentoo.org</email>
+ <name>Ultrabug</name>
+ </maintainer>
+ <maintainer>
+ <email>bugs@bergstroem.nu</email>
+ <name>Johan Bergström</name>
+ <description>Proxy Maintainer. CC on bugs</description>
+ </maintainer>
+ <longdescription lang="en">A BSON utility library.</longdescription>
+</pkgmetadata>
+