1 |
commit: c12a782e3bca89d3772b7d8e165295fb3c6519cc |
2 |
Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 2 19:25:25 2017 +0000 |
4 |
Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 19:25:45 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c12a782e |
7 |
|
8 |
dev-libs/libgcrypt: Clean up 1.7.5-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-libs/libgcrypt/libgcrypt-1.7.5-r1.ebuild | 72 ---------------------------- |
13 |
1 file changed, 72 deletions(-) |
14 |
|
15 |
diff --git a/dev-libs/libgcrypt/libgcrypt-1.7.5-r1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.7.5-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 28dffbf79fc..00000000000 |
18 |
--- a/dev-libs/libgcrypt/libgcrypt-1.7.5-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,72 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
-AUTOTOOLS_AUTORECONF=1 |
26 |
-WANT_AUTOMAKE=1.14 |
27 |
- |
28 |
-inherit autotools-multilib flag-o-matic |
29 |
- |
30 |
-DESCRIPTION="General purpose crypto library based on the code used in GnuPG" |
31 |
-HOMEPAGE="http://www.gnupg.org/" |
32 |
-SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" |
33 |
- |
34 |
-LICENSE="LGPL-2.1 MIT" |
35 |
-SLOT="0/20" # subslot = soname major version |
36 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
37 |
-IUSE="doc static-libs" |
38 |
- |
39 |
-RDEPEND=">=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}] |
40 |
- abi_x86_32? ( |
41 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r19 |
42 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32] |
43 |
- )" |
44 |
-DEPEND="${RDEPEND} |
45 |
- doc? ( virtual/texi2dvi )" |
46 |
- |
47 |
-DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
48 |
- |
49 |
-PATCHES=( |
50 |
- "${FILESDIR}"/${PN}-1.6.1-uscore.patch |
51 |
- "${FILESDIR}"/${PN}-multilib-syspath.patch |
52 |
- "${FILESDIR}"/${P}-fix-nehalem.patch |
53 |
-) |
54 |
- |
55 |
-MULTILIB_CHOST_TOOLS=( |
56 |
- /usr/bin/libgcrypt-config |
57 |
-) |
58 |
- |
59 |
-multilib_src_configure() { |
60 |
- if [[ ${CHOST} == *86*-solaris* ]] ; then |
61 |
- # ASM code uses GNU ELF syntax, divide in particular, we need to |
62 |
- # allow this via ASFLAGS, since we don't have a flag-o-matic |
63 |
- # function for that, we'll have to abuse cflags for this |
64 |
- append-cflags -Wa,--divide |
65 |
- fi |
66 |
- local myeconfargs=( |
67 |
- --disable-dependency-tracking |
68 |
- --enable-noexecstack |
69 |
- --disable-O-flag-munging |
70 |
- $(use_enable static-libs static) |
71 |
- |
72 |
- # disabled due to various applications requiring privileges |
73 |
- # after libgcrypt drops them (bug #468616) |
74 |
- --without-capabilities |
75 |
- |
76 |
- # http://trac.videolan.org/vlc/ticket/620 |
77 |
- # causes bus-errors on sparc64-solaris |
78 |
- $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") |
79 |
- $([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") |
80 |
- ) |
81 |
- autotools-utils_src_configure |
82 |
-} |
83 |
- |
84 |
-multilib_src_compile() { |
85 |
- emake |
86 |
- multilib_is_native_abi && use doc && VARTEXFONTS="${T}/fonts" emake -C doc gcrypt.pdf |
87 |
-} |
88 |
- |
89 |
-multilib_src_install() { |
90 |
- emake DESTDIR="${D}" install |
91 |
- multilib_is_native_abi && use doc && dodoc doc/gcrypt.pdf |
92 |
-} |