mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
dev-libs/gf2x: remove old "unused" version 1.2.
The v1.2 ebuild has a different subslot, suggesting that there's some API breakage, but I've personally been using v1.3.0 with all of its revdeps so here's hoping that nothing breaks. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST gf2x-1.2.tar.gz 706519 BLAKE2B 4aa45d10646b51e540be51d0fe3691083c48c666d34e67d50d8f53753c49af2bd9664483618eee5a1883106d1f58ddb28cd4eb02031f13eebe8278630de736f6 SHA512 efddad2b99fa103fa77caed4a62f4a763dbff67bc7cf4527bbbf33ca826829e4a4f94e97454ef1a6498bdc2cee8934ff43f9dabf41a4a4f256721527a1dffa30
|
||||
DIST gf2x-1.3.0.tar.gz 727717 BLAKE2B 65f6596a09087708e4ae940b067cb375476c1e7b25a28bf12e9318c752cb326516edeb9363d0f98a9b4173f5bcefd204aa62e1cb87b3f27ad9c30b661edc7451 SHA512 4991568032483e0ecb4552a698e5b7d09f80875e54584a0060a9473be1f87e4e8f714e657f08fec0b9fcf493d969408e5a9000f900623b3694aba1ecf6dc239e
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils autotools ltprune
|
||||
|
||||
PACKAGEID=36934 # inriaforge hardcoded ID
|
||||
|
||||
DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]"
|
||||
HOMEPAGE="http://gf2x.gforge.inria.fr/"
|
||||
SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="fft static-libs custom-tune"
|
||||
IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
|
||||
IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# fix for cross-compiling, avoid ABI detection
|
||||
sed -e 's/VERIFY_WORDSIZE(\[$ABI\].*/echo "skipping ABI check"/' \
|
||||
-e 's/AC_MSG_ERROR(\[already_t.*/echo "skipping ABI check"/' \
|
||||
-i configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable cpu_flags_x86_sse2 sse2) \
|
||||
$(use_enable cpu_flags_x86_sse3 sse3) \
|
||||
$(use_enable cpu_flags_x86_ssse3 ssse3) \
|
||||
$(use_enable cpu_flags_x86_sse4_1 sse41) \
|
||||
$(use_enable cpu_flags_x86_pclmul pclmul) \
|
||||
$(use_enable fft fft-interface) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
if use custom-tune; then
|
||||
einfo "Starting tuning"
|
||||
emake tune-lowlevel
|
||||
emake tune-toom
|
||||
use fft && emake tune-fft
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || prune_libtool_files --all
|
||||
}
|
||||
Reference in New Issue
Block a user