Lines 1-11
Link Here
|
1 |
# Copyright 1999-2014 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.1.ebuild,v 1.1 2014/02/04 02:38:53 radhermit Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
AUTOTOOLS_AUTORECONF=1 |
6 |
AUTOTOOLS_AUTORECONF=1 |
7 |
|
7 |
|
8 |
inherit autotools-utils flag-o-matic |
8 |
inherit autotools-multilib flag-o-matic |
9 |
|
9 |
|
10 |
DESCRIPTION="General purpose crypto library based on the code used in GnuPG" |
10 |
DESCRIPTION="General purpose crypto library based on the code used in GnuPG" |
11 |
HOMEPAGE="http://www.gnupg.org/" |
11 |
HOMEPAGE="http://www.gnupg.org/" |
Lines 17-23
Link Here
|
17 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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 ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
17 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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 ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
18 |
IUSE="static-libs" |
18 |
IUSE="static-libs" |
19 |
|
19 |
|
20 |
RDEPEND=">=dev-libs/libgpg-error-1.11" |
20 |
RDEPEND=">=dev-libs/libgpg-error-1.12-r1[${MULTILIB_USEDEP}] |
|
|
21 |
abi_x86_32? ( |
22 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
23 |
!<=app-emulation/emul-linux-x86-baselibs-20131008-r8 |
24 |
)" |
21 |
DEPEND="${RDEPEND}" |
25 |
DEPEND="${RDEPEND}" |
22 |
|
26 |
|
23 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
27 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
Lines 51-55
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 |
} |