diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2014-03-27 15:05:14 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2014-03-27 15:05:14 +0000 |
commit | 1f225c8efcefa79ecef0663d5437efcccf1028c8 (patch) | |
tree | f5e974ccebeb963f6812ac2f49d9ae0312d076d6 /dev-libs/mongo-c-driver | |
parent | Remove mask on >=sys-apps/systemd-210 and mask seccomp use flag on several ar... (diff) | |
download | gentoo-2-1f225c8efcefa79ecef0663d5437efcccf1028c8.tar.gz gentoo-2-1f225c8efcefa79ecef0663d5437efcccf1028c8.tar.bz2 gentoo-2-1f225c8efcefa79ecef0663d5437efcccf1028c8.zip |
Bump to latest available "legacy" version.
(Portage version: 2.2.9-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)
Diffstat (limited to 'dev-libs/mongo-c-driver')
-rw-r--r-- | dev-libs/mongo-c-driver/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/mongo-c-driver/mongo-c-driver-0.8.1.ebuild | 47 |
2 files changed, 54 insertions, 2 deletions
diff --git a/dev-libs/mongo-c-driver/ChangeLog b/dev-libs/mongo-c-driver/ChangeLog index b627703e4b12..11cf683404c8 100644 --- a/dev-libs/mongo-c-driver/ChangeLog +++ b/dev-libs/mongo-c-driver/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/mongo-c-driver -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.5 2013/10/25 14:24:43 jer Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.6 2014/03/27 15:05:14 chainsaw Exp $ + +*mongo-c-driver-0.8.1 (27 Mar 2014) + + 27 Mar 2014; Tony Vroon <chainsaw@gentoo.org> +mongo-c-driver-0.8.1.ebuild: + Bump to latest available "legacy" version. 25 Oct 2013; Jeroen Roovers <jer@gentoo.org> mongo-c-driver-0.7.1.ebuild: Marked ~hppa too. diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1.ebuild new file mode 100644 index 000000000000..42c49408596f --- /dev/null +++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1.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/mongo-c-driver/mongo-c-driver-0.8.1.ebuild,v 1.1 2014/03/27 15:05:14 chainsaw 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 ~hppa ~ppc ~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/* +} |