summaryrefslogtreecommitdiff
path: root/dev-libs/libmongo-client
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libmongo-client')
-rw-r--r--dev-libs/libmongo-client/Manifest5
-rw-r--r--dev-libs/libmongo-client/libmongo-client-0.1.7.ebuild38
-rw-r--r--dev-libs/libmongo-client/libmongo-client-0.1.8.ebuild41
-rw-r--r--dev-libs/libmongo-client/metadata.xml17
4 files changed, 101 insertions, 0 deletions
diff --git a/dev-libs/libmongo-client/Manifest b/dev-libs/libmongo-client/Manifest
new file mode 100644
index 000000000000..1c4939093ae1
--- /dev/null
+++ b/dev-libs/libmongo-client/Manifest
@@ -0,0 +1,5 @@
+DIST libmongo-client-0.1.7.tar.gz 122495 BLAKE2B 1c62e60f6181ed087058a0dca23940300db03668f7ec1b744f8b574fcbd302139c4ed525a0a2bbeaed7edf552eda47e4ca0e9faacfc2d2954d97f77863e94a60 SHA512 c8250ee04c01650b624641d8c3e0cb81e17bdc12d1d64ccb173c15db58d39953fec39dcf5b92ec91378b93574319ab47bb523d1c50594cbc89479c65d219b5ee
+DIST libmongo-client-0.1.8.tar.gz 127648 BLAKE2B 1ca701fc66cccd704a15f4370e2e3e8c75579af0e6aa4fd638a464d490a43b0e61950cb519829388b1625cd2e0609080b69576be91df3b105c6f00535fd8c096 SHA512 b013898768306ef053f8010b14b353c42af6505ec33d4384602e690d97e9272d48ea134a84f79394073b01ecc05beab3e2e95dbfc0c3603b09fac4b0f72c1ae0
+EBUILD libmongo-client-0.1.7.ebuild 699 BLAKE2B 644906d2c53da523d53eddf5f7a4bfb06597509be3f4c164f1fba676bb5f97e0c84243b25f5aa6ccacc6390aab35b60bafc016e736c400d030cf5089fba00183 SHA512 4e7e75ea0502dc7537c9169cfcb335cdab3d09b0d612c0a29dc7703acf2fe92a37cbc7c498ce5b8046969d53526d1415a2aaa05cb27ab5ed372fd370590e57eb
+EBUILD libmongo-client-0.1.8.ebuild 750 BLAKE2B 8443a3c2e25b723abdbf2fc1bb8f29f6adaad55706f89292fadd326cf2216e1da3b4792bec1ecc9aec745654dc282ca35905fff7f280f9ce5e0a3824b500a24d SHA512 5bd3f7d0a863f06701a3e5f5138504d5ef5639f99921d42e254f2788c4dbbe4b1a52a5113654ab491844e2e4a71f8134b9e2c27034a87a17ce9c80e91a99c8f9
+MISC metadata.xml 723 BLAKE2B a96a93f0a53af64231ad5ad0fe2c60c107f3e42912991ee1f064ccf255b4238bcc3d5d419f4d5ef3fd214da8e9276e35b22e4cd1fceb8b85d086373f9b3a7059 SHA512 9e46ff8dc28f4f286bfeb8ae271f09e63c26290fe8938fd18dd8781c5fa12126afc901ddaae719eebcaf952cbd5eff2bc8c64b771e4e0cb92947e98e6bebe9da
diff --git a/dev-libs/libmongo-client/libmongo-client-0.1.7.ebuild b/dev-libs/libmongo-client/libmongo-client-0.1.7.ebuild
new file mode 100644
index 000000000000..eada1d63f64d
--- /dev/null
+++ b/dev-libs/libmongo-client/libmongo-client-0.1.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils autotools
+
+DESCRIPTION="The alternative C driver for MongoDB"
+HOMEPAGE="https://github.com/algernon/libmongo-client"
+SRC_URI="https://github.com/algernon/${PN}/archive/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 arm hppa x86"
+IUSE="doc"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig"
+RDEPEND="
+ dev-libs/glib"
+
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+ eautoreconf
+}
+
+src_compile() {
+ default
+ use doc && emake DESTDIR="${D}" doxygen
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete
+ use doc && dohtml -r docs/html/*
+}
diff --git a/dev-libs/libmongo-client/libmongo-client-0.1.8.ebuild b/dev-libs/libmongo-client/libmongo-client-0.1.8.ebuild
new file mode 100644
index 000000000000..8cbff13f22c6
--- /dev/null
+++ b/dev-libs/libmongo-client/libmongo-client-0.1.8.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools
+
+DESCRIPTION="The alternative C driver for MongoDB"
+HOMEPAGE="https://github.com/algernon/libmongo-client"
+SRC_URI="https://github.com/algernon/${PN}/archive/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/0.5.0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
+IUSE="doc"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig"
+RDEPEND="dev-libs/glib"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_compile() {
+ default
+
+ use doc && emake DESTDIR="${D%/}" doxygen
+}
+
+src_install() {
+ use doc && local HTML_DOCS=( docs/html/. )
+ default
+
+ find "${ED}"usr/lib* -name '*.la' -delete || die
+}
diff --git a/dev-libs/libmongo-client/metadata.xml b/dev-libs/libmongo-client/metadata.xml
new file mode 100644
index 000000000000..6b8d41f029c2
--- /dev/null
+++ b/dev-libs/libmongo-client/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+ This is an alternative C driver for MongoDB, with slightly different
+ goals than the official one:
+ libmongo-client is meant to be a stable (API, ABI and quality alike),
+ clean, well documented and well tested shared library, that strives
+ to make the most common use cases as convenient as possible.
+ </longdescription>
+ <slots>
+ <subslots>Reflect ABI of libmongo-client.so.</subslots>
+ </slots>
+ <upstream>
+ <remote-id type="github">algernon/libmongo-client</remote-id>
+ </upstream>
+</pkgmetadata>