1 |
commit: 41804cdc47b9a0bf692a2719bfdb63ac6bf2a2c4 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 19 06:42:50 2017 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 19 06:42:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41804cdc |
7 |
|
8 |
dev-libs/nettle: cleanup |
9 |
|
10 |
Bug: 590484 |
11 |
|
12 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
13 |
|
14 |
dev-libs/nettle/nettle-3.2.ebuild | 62 --------------------------------------- |
15 |
1 file changed, 62 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/nettle/nettle-3.2.ebuild b/dev-libs/nettle/nettle-3.2.ebuild |
18 |
deleted file mode 100644 |
19 |
index 0910e4b569c..00000000000 |
20 |
--- a/dev-libs/nettle/nettle-3.2.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,62 +0,0 @@ |
23 |
-# Copyright 1999-2016 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=6 |
27 |
- |
28 |
-inherit autotools eutils multilib-build multilib-minimal multilib toolchain-funcs |
29 |
- |
30 |
-DESCRIPTION="Low-level cryptographic library" |
31 |
-HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" |
32 |
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="|| ( LGPL-3 LGPL-2.1 )" |
35 |
-SLOT="0/6" # subslot = libnettle soname version |
36 |
-KEYWORDS="alpha amd64 arm ~arm64 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 ~m68k-mint ~sparc-solaris ~x86-solaris" |
37 |
-IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes" |
38 |
- |
39 |
-DEPEND="gmp? ( dev-libs/gmp:0[${MULTILIB_USEDEP}] )" |
40 |
-RDEPEND="${DEPEND} |
41 |
- abi_x86_32? ( |
42 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r17 |
43 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
44 |
- )" |
45 |
- |
46 |
-MULTILIB_WRAPPED_HEADERS=( |
47 |
- /usr/include/nettle/nettle-stdint.h |
48 |
- /usr/include/nettle/version.h |
49 |
-) |
50 |
- |
51 |
-src_prepare() { |
52 |
- default |
53 |
- |
54 |
- sed -e '/CFLAGS=/s: -ggdb3::' \ |
55 |
- -e 's/solaris\*)/sunldsolaris*)/' \ |
56 |
- -i configure.ac || die |
57 |
- |
58 |
- # conditionally build tests and examples required by tests |
59 |
- use test || sed -i '/SUBDIRS/s/testsuite examples//' Makefile.in || die |
60 |
- |
61 |
- eautoreconf |
62 |
-} |
63 |
- |
64 |
-multilib_src_configure() { |
65 |
- # --disable-openssl bug #427526 |
66 |
- ECONF_SOURCE="${S}" econf \ |
67 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) \ |
68 |
- --disable-openssl \ |
69 |
- --disable-fat \ |
70 |
- $(use_enable gmp public-key) \ |
71 |
- $(use_enable static-libs static) \ |
72 |
- $(tc-is-static-only && echo --disable-shared) \ |
73 |
- $(use_enable doc documentation) \ |
74 |
- $(use_enable neon arm-neon) \ |
75 |
- $(use_enable cpu_flags_x86_aes x86-aesni) |
76 |
-} |
77 |
- |
78 |
-multilib_src_install_all() { |
79 |
- einstalldocs |
80 |
- if use doc ; then |
81 |
- dohtml nettle.html |
82 |
- dodoc nettle.pdf |
83 |
- fi |
84 |
-} |