Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pcsc-tools: pcsc-tools-1.4.23.ebuild ChangeLog pcsc-tools-1.4.21.ebuild
Date: Mon, 29 Sep 2014 20:21:07
Message-Id: 20140929202103.7B98C5B5@oystercatcher.gentoo.org
1 flameeyes 14/09/29 20:21:03
2
3 Modified: ChangeLog
4 Added: pcsc-tools-1.4.23.ebuild
5 Removed: pcsc-tools-1.4.21.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key D4301342)
10
11 Revision Changes Path
12 1.18 sys-apps/pcsc-tools/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-tools/ChangeLog?rev=1.18&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-tools/ChangeLog?rev=1.18&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-tools/ChangeLog?r1=1.17&r2=1.18
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-tools/ChangeLog,v
21 retrieving revision 1.17
22 retrieving revision 1.18
23 diff -u -r1.17 -r1.18
24 --- ChangeLog 26 Jan 2014 16:54:39 -0000 1.17
25 +++ ChangeLog 29 Sep 2014 20:21:03 -0000 1.18
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-apps/pcsc-tools
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-tools/ChangeLog,v 1.17 2014/01/26 16:54:39 flameeyes Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-tools/ChangeLog,v 1.18 2014/09/29 20:21:03 flameeyes Exp $
31 +
32 +*pcsc-tools-1.4.23 (29 Sep 2014)
33 +
34 + 29 Sep 2014; Diego E. Pettenò <flameeyes@g.o>
35 + +pcsc-tools-1.4.23.ebuild, -pcsc-tools-1.4.21.ebuild:
36 + Version bump.
37
38 *pcsc-tools-1.4.22 (26 Jan 2014)
39
40
41
42
43 1.1 sys-apps/pcsc-tools/pcsc-tools-1.4.23.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-tools/pcsc-tools-1.4.23.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-tools/pcsc-tools-1.4.23.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pcsc-tools-1.4.23.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-tools/pcsc-tools-1.4.23.ebuild,v 1.1 2014/09/29 20:21:03 flameeyes Exp $
53
54 EAPI="4"
55
56 inherit eutils fdo-mime multilib toolchain-funcs
57
58 DESCRIPTION="PC/SC Architecture smartcard tools"
59 HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
60 SRC_URI="http://ludovic.rousseau.free.fr/softwares/${PN}/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
65 IUSE="gtk network-cron"
66
67 RDEPEND=">=sys-apps/pcsc-lite-1.4.14"
68
69 DEPEND="${RDEPEND}
70 virtual/pkgconfig"
71 RDEPEND="${RDEPEND}
72 dev-perl/pcsc-perl
73 gtk? ( dev-perl/gtk2-perl )"
74
75 src_prepare() {
76 sed -i -e 's:-Wall -O2:$(CFLAGS):g' Makefile
77 }
78
79 src_compile() {
80 # explicitly only build the pcsc_scan application, or the man
81 # pages will be gzipped first, and then unpacked.
82 emake pcsc_scan CC=$(tc-getCC)
83 }
84
85 src_install() {
86 # install manually, makes it much easier since the Makefile
87 # requires fiddling with
88 dobin ATR_analysis scriptor pcsc_scan
89 doman pcsc_scan.1 scriptor.1p ATR_analysis.1p
90
91 dodoc README Changelog
92
93 if use gtk; then
94 domenu gscriptor.desktop
95 dobin gscriptor
96 doman gscriptor.1p
97 fi
98
99 if use network-cron ; then
100 exeinto /etc/cron.monthly
101 newexe "${FILESDIR}"/smartcard.cron update-smartcard_list
102 fi
103
104 insinto /usr/share/pcsc
105 doins smartcard_list.txt
106 }
107
108 pkg_postinst() {
109 use gtk && fdo-mime_desktop_database_update
110 }
111
112 pkg_postrm() {
113 fdo-mime_desktop_database_update
114 }