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.22.ebuild ChangeLog
Date: Sun, 26 Jan 2014 16:54:42
Message-Id: 20140126165439.673AF2004C@flycatcher.gentoo.org
1 flameeyes 14/01/26 16:54:39
2
3 Modified: ChangeLog
4 Added: pcsc-tools-1.4.22.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D4301342)
9
10 Revision Changes Path
11 1.17 sys-apps/pcsc-tools/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-tools/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-tools/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-tools/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-tools/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 25 Feb 2013 22:21:52 -0000 1.16
24 +++ ChangeLog 26 Jan 2014 16:54:39 -0000 1.17
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-apps/pcsc-tools
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-tools/ChangeLog,v 1.16 2013/02/25 22:21:52 flameeyes Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-tools/ChangeLog,v 1.17 2014/01/26 16:54:39 flameeyes Exp $
31 +
32 +*pcsc-tools-1.4.22 (26 Jan 2014)
33 +
34 + 26 Jan 2014; Diego E. Pettenò <flameeyes@g.o>
35 + +pcsc-tools-1.4.22.ebuild:
36 + Version bump.
37
38 25 Feb 2013; Diego E. Pettenò <flameeyes@g.o>
39 -pcsc-tools-1.4.17-r2.ebuild, -pcsc-tools-1.4.18.ebuild,
40
41
42
43 1.1 sys-apps/pcsc-tools/pcsc-tools-1.4.22.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-tools/pcsc-tools-1.4.22.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-tools/pcsc-tools-1.4.22.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pcsc-tools-1.4.22.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.22.ebuild,v 1.1 2014/01/26 16:54:39 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 }