Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/libyubikey: ChangeLog libyubikey-1.6.ebuild
Date: Sun, 24 Jun 2012 10:07:52
Message-Id: 20120624100742.132872004B@flycatcher.gentoo.org
1 ssuominen 12/06/24 10:07:42
2
3 Modified: ChangeLog libyubikey-1.6.ebuild
4 Log:
5 USE="static-libs" and convert to prune_libtool_files() function. Remove -Werror from AM_INIT_AUTOMAKE for compability with sys-devel/automake >= 1.12 wrt #423255 by Diego Elio Pettenò.
6
7 (Portage version: 2.2.0_alpha111/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 sys-auth/libyubikey/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libyubikey/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libyubikey/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libyubikey/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-auth/libyubikey/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 23 Oct 2010 16:38:54 -0000 1.1
23 +++ ChangeLog 24 Jun 2012 10:07:41 -0000 1.2
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-auth/libyubikey
26 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/libyubikey/ChangeLog,v 1.1 2010/10/23 16:38:54 flameeyes Exp $
28 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/libyubikey/ChangeLog,v 1.2 2012/06/24 10:07:41 ssuominen Exp $
30 +
31 + 24 Jun 2012; Samuli Suominen <ssuominen@g.o> libyubikey-1.6.ebuild:
32 + USE="static-libs" and convert to prune_libtool_files() function. Remove
33 + -Werror from AM_INIT_AUTOMAKE for compability with sys-devel/automake >= 1.12
34 + wrt #423255 by Diego Elio Pettenò.
35
36 *libyubikey-1.6 (23 Oct 2010)
37
38
39
40
41 1.2 sys-auth/libyubikey/libyubikey-1.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libyubikey/libyubikey-1.6.ebuild?rev=1.2&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libyubikey/libyubikey-1.6.ebuild?rev=1.2&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libyubikey/libyubikey-1.6.ebuild?r1=1.1&r2=1.2
46
47 Index: libyubikey-1.6.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/sys-auth/libyubikey/libyubikey-1.6.ebuild,v
50 retrieving revision 1.1
51 retrieving revision 1.2
52 diff -u -r1.1 -r1.2
53 --- libyubikey-1.6.ebuild 23 Oct 2010 16:38:54 -0000 1.1
54 +++ libyubikey-1.6.ebuild 24 Jun 2012 10:07:41 -0000 1.2
55 @@ -1,26 +1,31 @@
56 -# Copyright 1999-2010 Gentoo Foundation
57 +# Copyright 1999-2012 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/libyubikey/libyubikey-1.6.ebuild,v 1.1 2010/10/23 16:38:54 flameeyes Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/libyubikey/libyubikey-1.6.ebuild,v 1.2 2012/06/24 10:07:41 ssuominen Exp $
61
62 -EAPI=2
63 -inherit eutils autotools
64 +EAPI=4
65 +inherit autotools eutils
66
67 DESCRIPTION="Yubico C low-level library"
68 -SRC_URI="http://yubico-c.googlecode.com/files/${P}.tar.gz"
69 HOMEPAGE="http://code.google.com/p/yubico-c/"
70 +SRC_URI="http://yubico-c.googlecode.com/files/${P}.tar.gz"
71
72 KEYWORDS="~amd64"
73 SLOT="0"
74 LICENSE="BSD-2"
75 -IUSE=""
76 +IUSE="static-libs"
77
78 src_prepare() {
79 epatch "${FILESDIR}"/${P}-rpath.patch
80 + sed -i -e '/AM_INIT_AUTOMAKE/s: -Werror::' configure.ac || die #423255
81 eautoreconf
82 }
83
84 +src_configure() {
85 + econf $(use_enable static-libs static)
86 +}
87 +
88 src_install() {
89 - emake DESTDIR="${D}" install || die
90 - dodoc AUTHORS ChangeLog NEWS README THANKS || die
91 - find "${D}" -name '*.la' -delete || die
92 + emake DESTDIR="${D}" install
93 + dodoc AUTHORS ChangeLog NEWS README THANKS
94 + prune_libtool_files
95 }