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
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 |
DEPEND="${RDEPEND}" |
22 |
DEPEND="${RDEPEND}" |
23 |
|
23 |
|
24 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
24 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
Lines 51-55
Link Here
|
51 |
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") |
51 |
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") |
52 |
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") |
52 |
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") |
53 |
) |
53 |
) |
54 |
autotools-utils_src_configure |
54 |
|
|
|
55 |
autotools-multilib_src_configure |
56 |
} |
57 |
|
58 |
multilib_src_install() { |
59 |
emake DESTDIR="${D}" "${_at_args[@]}" install |
60 |
if ! multilib_build_binaries; then |
61 |
newbin "${D}"/usr/bin/libgcrypt-config "${ABI}"-libgcrypt-config || die |
62 |
fi |
55 |
} |
63 |
} |