diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-09-01 10:06:55 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-09-01 10:20:32 +0300 |
commit | d987d29b88ddd7dfb6693f777a4e97756986d19b (patch) | |
tree | bdafd2893b8d749d9ce0f1bd646cde68fffb2a4d /sys-apps/pcsc-tools | |
parent | perl-core/Time-Local: Spread ~x64-cygwin from perl (diff) | |
download | gentoo-d987d29b88ddd7dfb6693f777a4e97756986d19b.tar.gz gentoo-d987d29b88ddd7dfb6693f777a4e97756986d19b.tar.bz2 gentoo-d987d29b88ddd7dfb6693f777a4e97756986d19b.zip |
sys-apps/pcsc-tools: version bump
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-apps/pcsc-tools')
-rw-r--r-- | sys-apps/pcsc-tools/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/sys-apps/pcsc-tools/Manifest b/sys-apps/pcsc-tools/Manifest index a955888b7767..d8ab3e835ed5 100644 --- a/sys-apps/pcsc-tools/Manifest +++ b/sys-apps/pcsc-tools/Manifest @@ -1 +1,2 @@ DIST pcsc-tools-1.4.27.tar.gz 192342 BLAKE2B c17fa151afd6064bc15dda156248799bffaa08118b65fe57690a7a6e4697e0f44c31abc7e1b03f3eb6a3c551bec86b853b944b693f5b9242d649563fb64a2cd4 SHA512 f4532e6deab799c96fb344a8b3d07768b4c13d8800a486cf0bfe6200794e2b49dcd1c761dec86dca3c350d88577ec2bba420298c693449fddeeff93672449836 +DIST pcsc-tools-1.5.3.tar.bz2 267564 BLAKE2B b060e6fc923c6274d38c364325c367f793acf2979f2410c92857cce7483ebbb59db07657bc27be6d5a799f7f85da45782c4f1a9bbf7c450b43d533dce54755e7 SHA512 da5b362b7a3a6d47dd309ff217e6dd8af29298501db5e898ecd68762020ce62fc982132205f9bbee159a7d7eac549fdb8f25395416bb52bc0d0c888a5b0fa1a0 diff --git a/sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild b/sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild new file mode 100644 index 000000000000..216e4232f41e --- /dev/null +++ b/sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils fdo-mime multilib toolchain-funcs + +DESCRIPTION="PC/SC Architecture smartcard tools" +HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/" +SRC_URI="http://ludovic.rousseau.free.fr/softwares/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="gtk network-cron" + +RDEPEND=">=sys-apps/pcsc-lite-1.4.14" + +DEPEND="${RDEPEND} + virtual/pkgconfig" +RDEPEND="${RDEPEND} + dev-perl/pcsc-perl + gtk? ( dev-perl/Gtk2 )" + +DOCS=( + README Changelog +) + +src_prepare() { + default + sed -i -e 's:-Wall -O2:$(CFLAGS):g' Makefile +} + +src_compile() { + # explicitly only build the pcsc_scan application, or the man + # pages will be gzipped first, and then unpacked. + emake pcsc_scan CC=$(tc-getCC) +} + +src_install() { + einstalldocs + + # install manually, makes it much easier since the Makefile + # requires fiddling with + dobin ATR_analysis scriptor pcsc_scan + doman pcsc_scan.1 scriptor.1p ATR_analysis.1p + + if use gtk; then + domenu gscriptor.desktop + dobin gscriptor + doman gscriptor.1p + fi + + if use network-cron ; then + exeinto /etc/cron.monthly + newexe "${FILESDIR}"/smartcard.cron update-smartcard_list + fi + + insinto /usr/share/pcsc + doins smartcard_list.txt +} + +pkg_postinst() { + use gtk && fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |