Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit eutils autotools multilib |
7 |
inherit eutils autotools-multilib |
8 |
|
8 |
|
9 |
DESCRIPTION="Low-level cryptographic library" |
9 |
DESCRIPTION="Low-level cryptographic library" |
10 |
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" |
10 |
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" |
Lines 13-19
Link Here
|
13 |
LICENSE="|| ( LGPL-3 LGPL-2.1 )" |
13 |
LICENSE="|| ( LGPL-3 LGPL-2.1 )" |
14 |
SLOT="0/4" # subslot = libnettle soname version |
14 |
SLOT="0/4" # subslot = libnettle soname version |
15 |
KEYWORDS="alpha amd64 arm 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 ~sparc-solaris ~x86-solaris" |
15 |
KEYWORDS="alpha amd64 arm 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 ~sparc-solaris ~x86-solaris" |
16 |
IUSE="doc +gmp neon static-libs test" |
16 |
IUSE="doc +gmp multilib neon static-libs test" |
17 |
|
17 |
|
18 |
DEPEND="gmp? ( dev-libs/gmp )" |
18 |
DEPEND="gmp? ( dev-libs/gmp )" |
19 |
RDEPEND="${DEPEND}" |
19 |
RDEPEND="${DEPEND}" |
Lines 31-39
Link Here
|
31 |
eautoreconf |
31 |
eautoreconf |
32 |
} |
32 |
} |
33 |
|
33 |
|
34 |
src_configure() { |
34 |
multilib_src_configure() { |
35 |
# --disable-openssl bug #427526 |
35 |
ECONF_SOURCE="${S}" econf \ |
36 |
econf \ |
|
|
37 |
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
36 |
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
38 |
$(use_enable gmp public-key) \ |
37 |
$(use_enable gmp public-key) \ |
39 |
$(use_enable static-libs static) \ |
38 |
$(use_enable static-libs static) \ |
Lines 42-48
Link Here
|
42 |
$(use_enable neon arm-neon) |
41 |
$(use_enable neon arm-neon) |
43 |
} |
42 |
} |
44 |
|
43 |
|
45 |
src_install() { |
44 |
multilib_src_install() { |
46 |
default |
45 |
default |
47 |
|
46 |
|
48 |
if use doc ; then |
47 |
if use doc ; then |