diff options
Diffstat (limited to 'sci-libs/libsemigroups/libsemigroups-2.7.2.ebuild')
-rw-r--r-- | sci-libs/libsemigroups/libsemigroups-2.7.2.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sci-libs/libsemigroups/libsemigroups-2.7.2.ebuild b/sci-libs/libsemigroups/libsemigroups-2.7.2.ebuild new file mode 100644 index 000000000000..04bbfd48d7b9 --- /dev/null +++ b/sci-libs/libsemigroups/libsemigroups-2.7.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="C++ library for semigroups and monoids" +HOMEPAGE="https://github.com/libsemigroups/libsemigroups" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +# Source headers have "or any later version" +LICENSE="GPL-3+" +SLOT="0/2" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_popcnt" + +src_configure() { + econf \ + $(use_enable cpu_flags_x86_popcnt popcnt) \ + --disable-eigen \ + --disable-hpcombi \ + --disable-fmt +} + +src_install() { + default + find "${ED}" -type f -name '*.la' -delete || die +} |