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

Collapse All | Expand All

(-)libgcrypt-1.6.0.ebuild (-5 / +19 lines)
Lines 1-12 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/libgcrypt/libgcrypt-1.6.0.ebuild,v 1.2 2013/12/27 20:35:32 grobian Exp $
3
# $Header: $
4
4
5
EAPI=5
5
EAPI=5
6
AUTOTOOLS_AUTORECONF=1
6
AUTOTOOLS_AUTORECONF=1
7
WANT_AUTOMAKE=1.12
7
WANT_AUTOMAKE=1.12
8
8
9
inherit autotools-utils flag-o-matic
9
inherit autotools-multilib flag-o-matic
10
10
11
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
11
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
12
HOMEPAGE="http://www.gnupg.org/"
12
HOMEPAGE="http://www.gnupg.org/"
Lines 18-24 SLOT="0/20" # subslot = soname major ver Link Here
18
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
18
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
19
IUSE="static-libs"
19
IUSE="static-libs"
20
20
21
RDEPEND=">=dev-libs/libgpg-error-1.11"
21
RDEPEND=">=dev-libs/libgpg-error-1.12-r1[${MULTILIB_USEDEP}]
22
	abi_x86_32? (
23
		!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
24
		!<=app-emulation/emul-linux-x86-baselibs-20131008-r8
25
	)"
22
DEPEND="${RDEPEND}"
26
DEPEND="${RDEPEND}"
23
27
24
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
28
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
Lines 51-55 src_configure() { Link Here
51
		$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
55
		$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
52
		$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
56
		$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
53
	)
57
	)
54
	autotools-utils_src_configure
58
59
	autotools-multilib_src_configure
60
}
61
62
multilib_src_install() {
63
	emake DESTDIR="${D}" install
64
65
	mv "${ED}"/usr/bin/{,"${CHOST}"-}libgcrypt-config || die
66
	if multilib_build_binaries; then
67
		dosym "${CHOST}"-libgcrypt-config /usr/bin/libgcrypt-config
68
	fi
55
}
69
}

Return to bug 480400