Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 493974 | Differences between
and this patch

Collapse All | Expand All

(-)nettle-2.7.1.ebuild (-10 / +12 lines)
Lines 1-10 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2014 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
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-2.7.1.ebuild,v 1.11 2013/08/06 13:07:05 ago Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-2.7.1-r1.ebuild,v 1.1 2014/02/15 21:44:55 alonbl Exp $
4
4
5
EAPI=5
5
EAPI=5
6
6
7
inherit eutils autotools multilib
7
inherit eutils autotools-multilib 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 12-22 SRC_URI="http://www.lysator.liu.se/~niss Link Here
12
12
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 neon static-libs test"
17
17
18
DEPEND="gmp? ( dev-libs/gmp )"
18
DEPEND="gmp? ( dev-libs/gmp )"
19
RDEPEND="${DEPEND}"
19
RDEPEND="${DEPEND}
20
	abi_x86_32? (
21
		!<=app-emulation/emul-linux-x86-baselibs-20131008-r9
22
		!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
23
	)"
20
24
21
src_prepare() {
25
src_prepare() {
22
	epatch "${FILESDIR}"/${PN}-2.7-shared.patch
26
	epatch "${FILESDIR}"/${PN}-2.7-shared.patch
Lines 31-39 src_prepare() { Link Here
31
	eautoreconf
35
	eautoreconf
32
}
36
}
33
37
34
src_configure() {
38
multilib_src_configure() {
35
	# --disable-openssl bug #427526
39
	# --disable-openssl bug #427526
36
	econf \
40
	ECONF_SOURCE="${S}" econf \
37
		--libdir="${EPREFIX}"/usr/$(get_libdir) \
41
		--libdir="${EPREFIX}"/usr/$(get_libdir) \
38
		$(use_enable gmp public-key) \
42
		$(use_enable gmp public-key) \
39
		$(use_enable static-libs static) \
43
		$(use_enable static-libs static) \
Lines 42-50 src_configure() { Link Here
42
		$(use_enable neon arm-neon)
46
		$(use_enable neon arm-neon)
43
}
47
}
44
48
45
src_install() {
49
multilib_src_install_all() {
46
	default
47
48
	if use doc ; then
50
	if use doc ; then
49
		dohtml nettle.html
51
		dohtml nettle.html
50
		dodoc nettle.pdf
52
		dodoc nettle.pdf

Return to bug 493974