diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-12-18 21:03:49 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-12-18 21:03:49 +0000 |
commit | 7aee03fba3fa9176831f1397510ea6cecaf08f9b (patch) | |
tree | 896e7269f4a18b4609ab1956c4728d797102ed78 /sys-apps | |
parent | Version bump. Should finally fix #312967 and #324635. (diff) | |
download | gentoo-2-7aee03fba3fa9176831f1397510ea6cecaf08f9b.tar.gz gentoo-2-7aee03fba3fa9176831f1397510ea6cecaf08f9b.tar.bz2 gentoo-2-7aee03fba3fa9176831f1397510ea6cecaf08f9b.zip |
Version bump; this version uses the latest smartcard_list already so no new one has to be added, and future versions can get it through the SVN interface instead.
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/pcsc-tools/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/pcsc-tools/pcsc-tools-1.4.18.ebuild | 71 |
2 files changed, 80 insertions, 1 deletions
diff --git a/sys-apps/pcsc-tools/ChangeLog b/sys-apps/pcsc-tools/ChangeLog index b2b555933c0f..c0890bb8983c 100644 --- a/sys-apps/pcsc-tools/ChangeLog +++ b/sys-apps/pcsc-tools/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-apps/pcsc-tools # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-tools/ChangeLog,v 1.11 2011/04/15 18:23:53 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-tools/ChangeLog,v 1.12 2011/12/18 21:03:49 flameeyes Exp $ + +*pcsc-tools-1.4.18 (18 Dec 2011) + + 18 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> + +pcsc-tools-1.4.18.ebuild: + Version bump; this version uses the latest smartcard_list already so no new + one has to be added, and future versions can get it through the SVN interface + instead. *pcsc-tools-1.4.17-r2 (15 Apr 2011) diff --git a/sys-apps/pcsc-tools/pcsc-tools-1.4.18.ebuild b/sys-apps/pcsc-tools/pcsc-tools-1.4.18.ebuild new file mode 100644 index 000000000000..d6edb1076ed5 --- /dev/null +++ b/sys-apps/pcsc-tools/pcsc-tools-1.4.18.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-tools/pcsc-tools-1.4.18.ebuild,v 1.1 2011/12/18 21:03:49 flameeyes Exp $ + +EAPI="4" + +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 + ${SC_REV:+http://anonscm.debian.org/viewvc/pcsclite/trunk/pcsc-tools/smartcard_list.txt?revision=${SC_REV}&view=co -> ${PN}-smartcard_list-${SC_REV}.txt}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="gtk network-cron" + +RDEPEND=">=sys-apps/pcsc-lite-1.4.14" + +DEPEND="${RDEPEND} + dev-util/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() { + tc-export CC + # explicitly only build the pcsc_scan application, or the man + # pages will be gzipped first, and then unpacked. + emake pcsc_scan +} + +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 + if [[ -n ${SC_REV} ]]; then + newins "${WORKDIR}"/${PN}-smartcard_list-${SC_REV}.txt smartcard_list.txt + else + doins smartcard_list.txt + fi +} + +pkg_postinst() { + use gtk && fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |