1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="A C++ library for polynomials over boolean rings"
9 HOMEPAGE="https://github.com/BRiAl/BRiAl"
10 SRC_URI="https://github.com/BRiAl/BRiAl/releases/download/${PV}/${P}.tar.bz2"
12 # The top-level license is GPL2, but cudd/LICENSE is BSD.
15 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
16 IUSE="png static-libs"
18 BDEPEND="virtual/pkgconfig"
19 DEPEND="dev-libs/boost
28 # with-boost-libdir added to deal with some rather quirky setups
29 # see https://github.com/cschwan/sage-on-gentoo/issues/551
31 --with-boost="${EPREFIX}"/usr \
32 --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir) \
33 $(use_enable static-libs static)
38 find "${ED}" -name '*.la' -delete || die