Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/nettle: ChangeLog nettle-2.7.1.ebuild
Date: Wed, 05 Jun 2013 19:04:31
Message-Id: 20130605190424.A041B2171D@flycatcher.gentoo.org
1 radhermit 13/06/05 19:04:24
2
3 Modified: ChangeLog
4 Added: nettle-2.7.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.92 dev-libs/nettle/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nettle/ChangeLog?rev=1.92&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nettle/ChangeLog?rev=1.92&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nettle/ChangeLog?r1=1.91&r2=1.92
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v
20 retrieving revision 1.91
21 retrieving revision 1.92
22 diff -u -r1.91 -r1.92
23 --- ChangeLog 27 May 2013 19:46:39 -0000 1.91
24 +++ ChangeLog 5 Jun 2013 19:04:24 -0000 1.92
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/nettle
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v 1.91 2013/05/27 19:46:39 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v 1.92 2013/06/05 19:04:24 radhermit Exp $
30 +
31 +*nettle-2.7.1 (05 Jun 2013)
32 +
33 + 05 Jun 2013; Tim Harder <radhermit@g.o> +nettle-2.7.1.ebuild:
34 + Version bump.
35
36 27 May 2013; Fabian Groffen <grobian@g.o> nettle-2.7.ebuild:
37 Use prefixed libdir, bug #471298
38
39
40
41 1.1 dev-libs/nettle/nettle-2.7.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nettle/nettle-2.7.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nettle/nettle-2.7.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nettle-2.7.1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-2.7.1.ebuild,v 1.1 2013/06/05 19:04:24 radhermit Exp $
51
52 EAPI=5
53
54 inherit eutils autotools multilib
55
56 DESCRIPTION="Low-level cryptographic library"
57 HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/"
58 SRC_URI="http://www.lysator.liu.se/~nisse/archive/${P}.tar.gz"
59
60 LICENSE="|| ( LGPL-3 LGPL-2.1 )"
61 SLOT="0/4" # subslot = libnettle soname version
62 KEYWORDS="~alpha ~amd64 ~arm ~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 ~sparc-solaris ~x86-solaris"
63 IUSE="doc +gmp neon static-libs test"
64
65 DEPEND="gmp? ( dev-libs/gmp )"
66 RDEPEND="${DEPEND}"
67
68 src_prepare() {
69 epatch "${FILESDIR}"/${PN}-2.7-shared.patch
70
71 sed -e '/CFLAGS=/s: -ggdb3::' \
72 -e 's/solaris\*)/sunldsolaris*)/' \
73 -i configure.ac || die
74
75 # conditionally build tests and examples required by tests
76 use test || sed -i '/SUBDIRS/s/testsuite examples//' Makefile.in || die
77
78 eautoreconf
79 }
80
81 src_configure() {
82 # --disable-openssl bug #427526
83 econf \
84 --libdir="${EPREFIX}"/usr/$(get_libdir) \
85 $(use_enable gmp public-key) \
86 $(use_enable static-libs static) \
87 --disable-openssl \
88 $(use_enable doc documentation) \
89 $(use_enable neon arm-neon)
90 }
91
92 src_install() {
93 default
94
95 if use doc ; then
96 dohtml nettle.html
97 dodoc nettle.pdf
98 fi
99 }