summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2014-07-23 15:58:23 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2014-07-23 15:58:23 +0000
commit1dbe8713017250519dfc5318686f2837a9cd8164 (patch)
treeea4f3747a65808085e4ce8c5a20ae0a57d0536b3 /dev-libs/libbson
parentRemove older unstable versions (diff)
downloadgentoo-2-1dbe8713017250519dfc5318686f2837a9cd8164.tar.gz
gentoo-2-1dbe8713017250519dfc5318686f2837a9cd8164.tar.bz2
gentoo-2-1dbe8713017250519dfc5318686f2837a9cd8164.zip
new dev-libs/libbson ebuild thx to Johan Bergstrom in #505280
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
Diffstat (limited to 'dev-libs/libbson')
-rw-r--r--dev-libs/libbson/ChangeLog10
-rw-r--r--dev-libs/libbson/Manifest4
-rw-r--r--dev-libs/libbson/libbson-0.98.0.ebuild47
-rw-r--r--dev-libs/libbson/metadata.xml16
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-libs/libbson/ChangeLog b/dev-libs/libbson/ChangeLog
new file mode 100644
index 000000000000..40f40d5ba9ef
--- /dev/null
+++ b/dev-libs/libbson/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/libbson
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbson/ChangeLog,v 1.1 2014/07/23 15:58:23 ultrabug Exp $
+
+*libbson-0.98.0 (23 Jul 2014)
+
+ 23 Jul 2014; Ultrabug <ultrabug@gentoo.org> +libbson-0.98.0.ebuild,
+ +metadata.xml:
+ initial ebuild thx to Johan Bergström in #505280
+
diff --git a/dev-libs/libbson/Manifest b/dev-libs/libbson/Manifest
new file mode 100644
index 000000000000..312e5ac28844
--- /dev/null
+++ b/dev-libs/libbson/Manifest
@@ -0,0 +1,4 @@
+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
+MISC metadata.xml 487 SHA256 e6538d8921849eaa630d696f25e089c02f491ea1cb84a32030485b8177e2d12c SHA512 2bbaa1bbf8a002e9ad42a6bc9006ef0210d42342747fe05884f3471c93cea17499c2ab398ad39bc7d741c4c240e72dde7bfbe2f29bcab0ff8a83056484922804 WHIRLPOOL 8b01c802ecf78af6540ed0db641478942baefd428d3175da3320814b27be6d9f9f2b60953d950ba8e0c34d652ad27dac5bccb824c0b065930cfd690db5db2abc
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>
+