blob: 5ce87e43e4dbe5ff8bfd4c8e65fd24804764f4af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gf2x/gf2x-1.1.ebuild,v 1.1 2012/12/28 01:23:16 tomka Exp $
EAPI=4
inherit autotools-utils
PACKAGEID=30873 # hack
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"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="bindist static-libs"
src_configure() {
local myeconfargs=(
ABI=default
)
if use bindist ; then
if use x86 ; then
myeconfargs+=(
--disable-sse2
)
fi
if use amd64 ; then
myeconfargs+=(
--disable-pclmul
)
fi
fi
autotools-utils_src_configure
}
|