1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
11 DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
12 HOMEPAGE="http://www.mongodb.org"
13 SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
21 # openssl DEPEND constraint, see:
22 # https://github.com/mongodb/mongo-tools/issues/11
24 RDEPEND="!<dev-db/mongodb-3.0.0"
27 sasl? ( dev-libs/cyrus-sasl )
28 ssl? ( dev-libs/openssl )"
33 # ensure we use bash wrt #582906
34 sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
37 epatch "${FILESDIR}/${PN}-3.2.10-pie.patch"
44 myconf="${myconf} sasl"
48 myconf="${myconf} ssl"
51 ./build.sh ${myconf} || die "build failed"