1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
12 DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
13 HOMEPAGE="http://www.mongodb.org"
14 SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
22 # openssl DEPEND constraint, see:
23 # https://github.com/mongodb/mongo-tools/issues/11
25 RDEPEND="!<dev-db/mongodb-3.0.0"
28 sasl? ( dev-libs/cyrus-sasl )
29 ssl? ( dev-libs/openssl )"
34 # ensure we use bash wrt #582906
35 sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
42 myconf="${myconf} sasl"
46 myconf="${myconf} ssl"
49 ./build.sh ${myconf} || die "build failed"