diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-10-28 17:25:39 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-10-28 17:25:39 +0000 |
commit | f2f18c5796619db3831ab9ca45422b27e3fe9404 (patch) | |
tree | 2872824246bcd03fedbe363ada656411b597623c /dev-libs | |
parent | Add ~alpha (diff) | |
download | gentoo-2-f2f18c5796619db3831ab9ca45422b27e3fe9404.tar.gz gentoo-2-f2f18c5796619db3831ab9ca45422b27e3fe9404.tar.bz2 gentoo-2-f2f18c5796619db3831ab9ca45422b27e3fe9404.zip |
Initial commit. Bug #436746. Thanks to Johan Bergstrom <bugs@bergstroem.nu>
(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/mongo-c-driver/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/mongo-c-driver/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/mongo-c-driver/metadata.xml | 12 | ||||
-rw-r--r-- | dev-libs/mongo-c-driver/mongo-c-driver-0.6.ebuild | 47 |
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-libs/mongo-c-driver/ChangeLog b/dev-libs/mongo-c-driver/ChangeLog new file mode 100644 index 000000000000..e047a9fd43df --- /dev/null +++ b/dev-libs/mongo-c-driver/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-libs/mongo-c-driver +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.1 2012/10/28 17:25:39 hwoarang Exp $ + +*mongo-c-driver-0.6 (28 Oct 2012) + + 28 Oct 2012; Markos Chandras <hwoarang@gentoo.org> + +mongo-c-driver-0.6.ebuild, +metadata.xml: + Initial commit. Thanks to Johan Bergstrom <bugs@bergstroem.nu> who will + proxy-maintain it. Bug #436746 + diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest new file mode 100644 index 000000000000..a9996c496df3 --- /dev/null +++ b/dev-libs/mongo-c-driver/Manifest @@ -0,0 +1,4 @@ +DIST mongo-c-driver-0.6.tar.gz 94393 SHA256 7c7cf89726fb74d94c8f65722f5f8ccf35ccab2738b95003245d55f1f53d56e9 SHA512 2d6e3a40bbddd12ed7b2c1624b692ab25324135b08646a496b0d114699898aaee4541c541c354c2b0406a1cc375b2f07ab9cf538ea04f4751298e8d0f2e3bf53 WHIRLPOOL 5a81c74e6f6803f565887822127d6f6fd9f8ef147b812e0744d58af507b877f28bead4705cbebbb9c2c93476d70f8d138f11cddb1c251464bb0026d5ee802e65 +EBUILD mongo-c-driver-0.6.ebuild 940 SHA256 385219504ef222b3b40a38f0ab2e86125a5e3000208349992cc27ad6a8d401c3 SHA512 8fb34627214ec2cb913e8318a87dbc75a6759f1962aeb0a29c340c13056ed6a861864adcbc4a0c0389b5d1dec34bc35ed12d75b8e150bc0315fd45b185b2a4ae WHIRLPOOL 4f5cd9649019c62c5a1437a1acd7b2b1b44fca3f55f4985a615277c981ddd4f5c853c1594daa7f67407fb63ca4ed4c8ee470bcd15e2defa0d5fb59a5ec58886c +MISC ChangeLog 365 SHA256 7c863396f7bb6dc7ec5d5fcebaa67aba7976b46c7a1618771be0144b2bad70d1 SHA512 4a302768fba529711d28fef5eabc38bda70baaa68869f88172652a5b6f409009d6892d63d02bb4399ca3b2bafa2f5058c778cff2504978d05103aa6275b7d055 WHIRLPOOL a767905a4d5c4909e1a96efbd42a9ce2b3266d91dccf488070264204cf40629e9676f9a96d1ac5678ca523ae4420c7f2898af68d780a7eedd61b3d2b95225f54 +MISC metadata.xml 311 SHA256 2dd812ab2b439a1fb7a8be4d17c3c760706d01ea04e3685175d265cf3cd774c6 SHA512 9117c00437e17cc4473158e6702b83acdaa384c277c6655c4b3f8abc6a5e2401cf140725157bddbfa25a9d2f284e5325d8cf3e3969f0b232d19d6758cb22ebf7 WHIRLPOOL b0f4757812ef0ded1b9eba00ebe2faa96ac5d51e41bf2604524a8d3afc55b5f0381c004948ae8235b50db8cb9daf0ee50cdc0743c8ba6e939b09a5f9b1988383 diff --git a/dev-libs/mongo-c-driver/metadata.xml b/dev-libs/mongo-c-driver/metadata.xml new file mode 100644 index 000000000000..d160ba800830 --- /dev/null +++ b/dev-libs/mongo-c-driver/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proxy-maintainers</herd> +<maintainer> +<email>bugs@bergstroem.nu</email> +<name>bugs@bergstroem.nu</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.6.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.6.ebuild new file mode 100644 index 000000000000..dd5648fd8275 --- /dev/null +++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.6.ebuild,v 1.1 2012/10/28 17:25:39 hwoarang Exp $ + +EAPI="4" +PYTHON_DEPEND="2" + +inherit multilib python + +DESCRIPTION="C Driver for MongoDB" +HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver" +SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc static-libs" + +# tests fails to build +RESTRICT="test" + +RDEPEND="" +DEPEND="doc? ( dev-python/sphinx )" + +pkg_setup() { + python_set_active_version 2 +} + +src_unpack() { + unpack ${A} + mv *-${PN}-* "${S}" +} + +src_compile() { + emake + use doc && make -C docs/source/sphinx html +} + +src_install() { + emake install \ + INSTALL_LIBRARY_PATH="${D}/usr/$(get_libdir)" \ + INSTALL_INCLUDE_PATH="${D}/usr/include" + + use static-libs || find "${ED}" -name '*.a' -exec rm -f {} + + + use doc && dohtml -r docs/source/sphinx/build/html/* +}
\ No newline at end of file |