Line
Link Here
|
0 |
-- dev-libs/nettle/nettle-3.1.1.ebuild |
0 |
++ temp/nettle-3.2.ebuild |
Lines 1-11
Link Here
|
1 |
# Copyright 1999-2015 Gentoo Foundation |
1 |
# Copyright 1999-2016 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Id$ |
3 |
# $Id$ |
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=6 |
6 |
AUTOTOOLS_AUTORECONF=yes |
|
|
7 |
|
6 |
|
8 |
inherit eutils autotools-multilib multilib toolchain-funcs |
7 |
inherit autotools eutils multilib-build multilib-minimal multilib toolchain-funcs |
9 |
|
8 |
|
10 |
DESCRIPTION="Low-level cryptographic library" |
9 |
DESCRIPTION="Low-level cryptographic library" |
11 |
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" |
10 |
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" |
Lines 13-19
Link Here
|
13 |
|
12 |
|
14 |
LICENSE="|| ( LGPL-3 LGPL-2.1 )" |
13 |
LICENSE="|| ( LGPL-3 LGPL-2.1 )" |
15 |
SLOT="0/6" # subslot = libnettle soname version |
14 |
SLOT="0/6" # subslot = libnettle soname version |
16 |
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris" |
15 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris" |
17 |
IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes" |
16 |
IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes" |
18 |
|
17 |
|
19 |
DEPEND="gmp? ( dev-libs/gmp:0[${MULTILIB_USEDEP}] )" |
18 |
DEPEND="gmp? ( dev-libs/gmp:0[${MULTILIB_USEDEP}] )" |
Lines 29-34
Link Here
|
29 |
) |
28 |
) |
30 |
|
29 |
|
31 |
src_prepare() { |
30 |
src_prepare() { |
|
|
31 |
default |
32 |
|
32 |
sed -e '/CFLAGS=/s: -ggdb3::' \ |
33 |
sed -e '/CFLAGS=/s: -ggdb3::' \ |
33 |
-e 's/solaris\*)/sunldsolaris*)/' \ |
34 |
-e 's/solaris\*)/sunldsolaris*)/' \ |
34 |
-i configure.ac || die |
35 |
-i configure.ac || die |
Lines 36-42
Link Here
|
36 |
# conditionally build tests and examples required by tests |
37 |
# conditionally build tests and examples required by tests |
37 |
use test || sed -i '/SUBDIRS/s/testsuite examples//' Makefile.in || die |
38 |
use test || sed -i '/SUBDIRS/s/testsuite examples//' Makefile.in || die |
38 |
|
39 |
|
39 |
autotools-utils_src_prepare |
40 |
eautoreconf |
40 |
} |
41 |
} |
41 |
|
42 |
|
42 |
multilib_src_configure() { |
43 |
multilib_src_configure() { |