From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/opensc: opensc-0.12.2-r2.ebuild ChangeLog opensc-0.12.2-r1.ebuild |
Date: | Sun, 26 Aug 2012 23:40:23 |
Message-Id: | 20120826234002.A28522085B@flycatcher.gentoo.org |
1 | flameeyes 12/08/26 23:40:02 |
2 | |
3 | Modified: ChangeLog |
4 | Added: opensc-0.12.2-r2.ebuild |
5 | Removed: opensc-0.12.2-r1.ebuild |
6 | Log: |
7 | Fix bug #432770 thanks to Maxim Kammerer. |
8 | |
9 | (Portage version: 2.2.0_alpha122/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.124 dev-libs/opensc/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/ChangeLog?rev=1.124&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/ChangeLog?rev=1.124&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/ChangeLog?r1=1.123&r2=1.124 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v |
21 | retrieving revision 1.123 |
22 | retrieving revision 1.124 |
23 | diff -u -r1.123 -r1.124 |
24 | --- ChangeLog 24 Jun 2012 08:18:12 -0000 1.123 |
25 | +++ ChangeLog 26 Aug 2012 23:40:02 -0000 1.124 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for dev-libs/opensc |
28 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.123 2012/06/24 08:18:12 flameeyes Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.124 2012/08/26 23:40:02 flameeyes Exp $ |
31 | + |
32 | +*opensc-0.12.2-r2 (26 Aug 2012) |
33 | + |
34 | + 26 Aug 2012; Diego E. Pettenò <flameeyes@g.o> +opensc-0.12.2-r2.ebuild, |
35 | + -opensc-0.12.2-r1.ebuild: |
36 | + Fix bug #432770 thanks to Maxim Kammerer. |
37 | |
38 | 24 Jun 2012; Diego E. Pettenò <flameeyes@g.o> |
39 | files/opensc-0.12.2-parallelinstall.patch, opensc-0.12.2-r1.ebuild: |
40 | |
41 | |
42 | |
43 | 1.1 dev-libs/opensc/opensc-0.12.2-r2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/opensc-0.12.2-r2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/opensc-0.12.2-r2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: opensc-0.12.2-r2.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2012 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.12.2-r2.ebuild,v 1.1 2012/08/26 23:40:02 flameeyes Exp $ |
53 | |
54 | EAPI=4 |
55 | |
56 | inherit eutils autotools |
57 | |
58 | DESCRIPTION="Libraries and applications to access smartcards" |
59 | HOMEPAGE="http://www.opensc-project.org/opensc/" |
60 | SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz" |
61 | |
62 | LICENSE="LGPL-2.1" |
63 | SLOT="0" |
64 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
65 | IUSE="doc libtool +pcsc-lite openct readline ssl zlib" |
66 | |
67 | RDEPEND="libtool? ( sys-devel/libtool ) |
68 | zlib? ( sys-libs/zlib ) |
69 | readline? ( sys-libs/readline ) |
70 | ssl? ( dev-libs/openssl ) |
71 | openct? ( >=dev-libs/openct-0.5.0 ) |
72 | pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )" |
73 | DEPEND="${RDEPEND} |
74 | virtual/pkgconfig |
75 | app-text/docbook-xsl-stylesheets |
76 | dev-libs/libxslt" |
77 | |
78 | REQUIRED_USE=" |
79 | pcsc-lite? ( !openct ) |
80 | openct? ( !pcsc-lite )" |
81 | |
82 | src_prepare() { |
83 | epatch "${FILESDIR}"/${PN}-0.12.1-crossbuild.patch |
84 | epatch "${FILESDIR}"/${P}-parallelinstall.patch |
85 | epatch "${FILESDIR}"/${P}-dl.patch |
86 | eautoreconf |
87 | } |
88 | |
89 | src_configure() { |
90 | # disable everything, enable selectively |
91 | local myconf="--disable-pcsc --disable-openct --disable-ctapi" |
92 | |
93 | if use pcsc-lite; then |
94 | myconf+=" --enable-pcsc" |
95 | elif use openct; then |
96 | myconf+=" --enable-openct" |
97 | else |
98 | myconf+=" --enable-ctapi" |
99 | fi |
100 | |
101 | # the configure script prefers libtool's libltdl over |
102 | # the native system's dlopen ... so we have to manually |
103 | # control the behavior to something a bit more sane |
104 | export ac_cv_header_ltdl_h=$(usex libtool) \ |
105 | ac_cv_lib_ltdl_lt_dlopen=$(usex libtool) |
106 | |
107 | econf \ |
108 | --docdir="/usr/share/doc/${PF}" \ |
109 | --htmldir='$(docdir)/html' \ |
110 | --disable-static \ |
111 | $(use_enable doc) \ |
112 | $(use_enable openct) \ |
113 | $(use_enable readline) \ |
114 | $(use_enable zlib) \ |
115 | $(use_enable ssl openssl) \ |
116 | ${myconf} |
117 | } |
118 | |
119 | src_install() { |
120 | default |
121 | find "${ED}"/usr -name '*.la' -delete |
122 | } |