diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-07-17 00:34:38 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-07-17 00:34:38 +0200 |
commit | ce79ef65b78fff7b85fde6cec52a4adfecaefd26 (patch) | |
tree | f5d9321f39896c86a4607161e1b57b4db7547ac4 /sys-apps/pcsc-tools | |
parent | sys-apps/etckeeper: Version bump to 1.18.4 (diff) | |
download | gentoo-ce79ef65b78fff7b85fde6cec52a4adfecaefd26.tar.gz gentoo-ce79ef65b78fff7b85fde6cec52a4adfecaefd26.tar.bz2 gentoo-ce79ef65b78fff7b85fde6cec52a4adfecaefd26.zip |
sys-apps/pcsc-tools: Version bump to 1.4.27
Package-Manager: portage-2.3.0
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.4.27.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-apps/pcsc-tools/Manifest b/sys-apps/pcsc-tools/Manifest index 4df68a8e7c42..4054c45601df 100644 --- a/sys-apps/pcsc-tools/Manifest +++ b/sys-apps/pcsc-tools/Manifest @@ -1,2 +1,3 @@ DIST pcsc-tools-1.4.25.tar.gz 183540 SHA256 a9c715224e5ea293721e0bc4e1deb4a6ee73ca19f16679896ec3a47591f00c47 SHA512 ad8bf02609a57e338de5cadd0aef09f13c90205888d749410340cf8b36eecc82c6a529e4730b9197c8e8a4f89084dca7068981a7dc5ad47612dfef3a8d4e141d WHIRLPOOL 9355fc87c33585fec44c42a5bc6de8e0a033c623fb158350b7ea22545d3d37c3dfc9c59ccf207b74513982820e99134db3c1df4c165054eed303ccfee0e62f76 DIST pcsc-tools-1.4.26.tar.gz 188041 SHA256 8006bab91e49adb47e383323596ed618ef4f634427672cef2688fdcce66625a7 SHA512 cc5c67c2792c76bcc3f1e85edddcb35af6f6d98d156fdc4a560ed0f1cc9ab780023a002f804db334e379f43c015d91496e849ea4aac1930edcd197961238faf0 WHIRLPOOL c508010764d3127682ca36146a5d072d78789980f832f52817eb3e74c81bfbb2a3f1e563eaf314b3d30e978cf54c798905db92106cd691eed1c76fda694cec02 +DIST pcsc-tools-1.4.27.tar.gz 192342 SHA256 aca73c890293de181cb214b675efac733853afdc97d0c151a3fb5ced28982e55 SHA512 f4532e6deab799c96fb344a8b3d07768b4c13d8800a486cf0bfe6200794e2b49dcd1c761dec86dca3c350d88577ec2bba420298c693449fddeeff93672449836 WHIRLPOOL d6a1b3762714eda3a57f436b19c3bacc4be090191f339dff47d7f6284e17836d86dfb0537385461aebcce8fbc209f27e4c2c3803c97c3cacc518dca7a0352686 diff --git a/sys-apps/pcsc-tools/pcsc-tools-1.4.27.ebuild b/sys-apps/pcsc-tools/pcsc-tools-1.4.27.ebuild new file mode 100644 index 000000000000..10400523c811 --- /dev/null +++ b/sys-apps/pcsc-tools/pcsc-tools-1.4.27.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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.gz" + +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-perl )" + +src_prepare() { + 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() { + # 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 + + dodoc README Changelog + + 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 +} |