diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2020-10-03 17:51:54 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2020-10-03 19:08:20 -0400 |
commit | 0e2043d4c91df3fedab2ae17fb2d0908767b3e3b (patch) | |
tree | ebd4127b78473d9367fa24e8ed531a505608ee04 /sci-libs/brial/brial-1.2.10.ebuild | |
parent | games-util/wit: Fix -fno-common (diff) | |
download | gentoo-0e2043d4c91df3fedab2ae17fb2d0908767b3e3b.tar.gz gentoo-0e2043d4c91df3fedab2ae17fb2d0908767b3e3b.tar.bz2 gentoo-0e2043d4c91df3fedab2ae17fb2d0908767b3e3b.zip |
sci-libs/brial: bugfix update 1.2.9 -> 1.2.10.
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-libs/brial/brial-1.2.10.ebuild')
-rw-r--r-- | sci-libs/brial/brial-1.2.10.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sci-libs/brial/brial-1.2.10.ebuild b/sci-libs/brial/brial-1.2.10.ebuild new file mode 100644 index 000000000000..e1831c017fc6 --- /dev/null +++ b/sci-libs/brial/brial-1.2.10.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="A C++ library for polynomials over boolean rings" +HOMEPAGE="https://github.com/BRiAl/BRiAl" +SRC_URI="https://github.com/BRiAl/BRiAl/releases/download/${PV}/${P}.tar.bz2" + +# The top-level license is GPL2+, but cudd/LICENSE is BSD. +LICENSE="BSD GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="png static-libs" + +BDEPEND="virtual/pkgconfig" +DEPEND="dev-libs/boost + sci-libs/m4ri[png=]" +RDEPEND="${DEPEND}" + +pkg_setup(){ + tc-export PKG_CONFIG +} + +src_configure(){ + # with-boost-libdir added to deal with some rather quirky setups + # see https://github.com/cschwan/sage-on-gentoo/issues/551 + econf \ + --with-boost="${EPREFIX}"/usr \ + --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir) \ + $(use_enable static-libs static) +} + +src_install(){ + default + find "${ED}" -name '*.la' -delete || die +} |