1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="A BSON utility library"
7 HOMEPAGE="https://github.com/mongodb/libbson"
8 SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
12 KEYWORDS="amd64 hppa ~ppc x86"
13 IUSE="debug examples static-libs"
16 econf --disable-optimizations \
18 $(use_enable static-libs static)
24 # Installing all the manuals conflicts with man-pages
25 doman doc/man/bson_*.3
27 if ! use static-libs; then
28 find "${D}" -name '*.la' -delete || die