1 |
commit: d987d29b88ddd7dfb6693f777a4e97756986d19b |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 1 07:06:55 2018 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 1 07:20:32 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d987d29b |
7 |
|
8 |
sys-apps/pcsc-tools: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
sys-apps/pcsc-tools/Manifest | 1 + |
13 |
sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild | 69 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/pcsc-tools/Manifest b/sys-apps/pcsc-tools/Manifest |
17 |
index a955888b776..d8ab3e835ed 100644 |
18 |
--- a/sys-apps/pcsc-tools/Manifest |
19 |
+++ b/sys-apps/pcsc-tools/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pcsc-tools-1.4.27.tar.gz 192342 BLAKE2B c17fa151afd6064bc15dda156248799bffaa08118b65fe57690a7a6e4697e0f44c31abc7e1b03f3eb6a3c551bec86b853b944b693f5b9242d649563fb64a2cd4 SHA512 f4532e6deab799c96fb344a8b3d07768b4c13d8800a486cf0bfe6200794e2b49dcd1c761dec86dca3c350d88577ec2bba420298c693449fddeeff93672449836 |
22 |
+DIST pcsc-tools-1.5.3.tar.bz2 267564 BLAKE2B b060e6fc923c6274d38c364325c367f793acf2979f2410c92857cce7483ebbb59db07657bc27be6d5a799f7f85da45782c4f1a9bbf7c450b43d533dce54755e7 SHA512 da5b362b7a3a6d47dd309ff217e6dd8af29298501db5e898ecd68762020ce62fc982132205f9bbee159a7d7eac549fdb8f25395416bb52bc0d0c888a5b0fa1a0 |
23 |
|
24 |
diff --git a/sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild b/sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..216e4232f41 |
27 |
--- /dev/null |
28 |
+++ b/sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild |
29 |
@@ -0,0 +1,69 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit eutils fdo-mime multilib toolchain-funcs |
36 |
+ |
37 |
+DESCRIPTION="PC/SC Architecture smartcard tools" |
38 |
+HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/" |
39 |
+SRC_URI="http://ludovic.rousseau.free.fr/softwares/${PN}/${P}.tar.bz2" |
40 |
+ |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
44 |
+IUSE="gtk network-cron" |
45 |
+ |
46 |
+RDEPEND=">=sys-apps/pcsc-lite-1.4.14" |
47 |
+ |
48 |
+DEPEND="${RDEPEND} |
49 |
+ virtual/pkgconfig" |
50 |
+RDEPEND="${RDEPEND} |
51 |
+ dev-perl/pcsc-perl |
52 |
+ gtk? ( dev-perl/Gtk2 )" |
53 |
+ |
54 |
+DOCS=( |
55 |
+ README Changelog |
56 |
+) |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ sed -i -e 's:-Wall -O2:$(CFLAGS):g' Makefile |
61 |
+} |
62 |
+ |
63 |
+src_compile() { |
64 |
+ # explicitly only build the pcsc_scan application, or the man |
65 |
+ # pages will be gzipped first, and then unpacked. |
66 |
+ emake pcsc_scan CC=$(tc-getCC) |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ einstalldocs |
71 |
+ |
72 |
+ # install manually, makes it much easier since the Makefile |
73 |
+ # requires fiddling with |
74 |
+ dobin ATR_analysis scriptor pcsc_scan |
75 |
+ doman pcsc_scan.1 scriptor.1p ATR_analysis.1p |
76 |
+ |
77 |
+ if use gtk; then |
78 |
+ domenu gscriptor.desktop |
79 |
+ dobin gscriptor |
80 |
+ doman gscriptor.1p |
81 |
+ fi |
82 |
+ |
83 |
+ if use network-cron ; then |
84 |
+ exeinto /etc/cron.monthly |
85 |
+ newexe "${FILESDIR}"/smartcard.cron update-smartcard_list |
86 |
+ fi |
87 |
+ |
88 |
+ insinto /usr/share/pcsc |
89 |
+ doins smartcard_list.txt |
90 |
+} |
91 |
+ |
92 |
+pkg_postinst() { |
93 |
+ use gtk && fdo-mime_desktop_database_update |
94 |
+} |
95 |
+ |
96 |
+pkg_postrm() { |
97 |
+ fdo-mime_desktop_database_update |
98 |
+} |