diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-17 01:13:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-17 01:13:38 +0000 |
commit | 0e82736d0df44565875b055019ded1be0ac5c319 (patch) | |
tree | bd9daea4309088c78f6b358305ab15849d97d159 /sci-libs/brial/brial-1.2.12.ebuild | |
parent | 79be8f00e2aa293669b8e22e1ef02d2d5c5f9e25 (diff) |
gentoo auto-resync : 17:01:2023 - 01:13:38
Diffstat (limited to 'sci-libs/brial/brial-1.2.12.ebuild')
-rw-r--r-- | sci-libs/brial/brial-1.2.12.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sci-libs/brial/brial-1.2.12.ebuild b/sci-libs/brial/brial-1.2.12.ebuild new file mode 100644 index 000000000000..31821f7a6cde --- /dev/null +++ b/sci-libs/brial/brial-1.2.12.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +IUSE="png" + +BDEPEND="virtual/pkgconfig" +DEPEND="dev-libs/boost + sci-libs/m4ri[png=]" +RDEPEND="${DEPEND}" + +src_configure() { + tc-export PKG_CONFIG + + # with-boost-libdir added to deal with some rather quirky setups + # see https://github.com/cschwan/sage-on-gentoo/issues/551 + econf \ + --with-boost="${ESYSROOT}"/usr \ + --with-boost-libdir="${ESYSROOT}"/usr/$(get_libdir) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |