sys-apps/ifd-gempc: drop 1.0.7

Signed-off-by: Filip Kobierski <fkobi@pm.me>
Closes: https://github.com/gentoo/gentoo/pull/37820
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Filip Kobierski
2024-07-30 15:16:06 +02:00
committed by Andreas Sturmlechner
parent 9f1edf7159
commit 2959e42a64
2 changed files with 0 additions and 61 deletions

View File

@@ -1,2 +1 @@
DIST ifd-gempc-1.0.7.tar.gz 76712 BLAKE2B 5ae734ff97865a66d993fc67a2ee5537875773b8275a2125c8853ddf0006cea61f20cd38571be44126cb2cfeb16a6778d6917fd056616e24997a3aed85226e76 SHA512 dde143bd2ca46cca91f979ddbb300f0b5fea37ecfa0c67058d887fcd56edf58adecce85dd05c7af25329fdfcfdf5bf7a52d4dc24061231a234180aad3df44a93
DIST ifd-gempc-1.0.8.tar.gz 75298 BLAKE2B 6a371a554751819bbd971dc9273fee0bfce4ef8d6fa0a8c261c6944f4689d032102630b3f103c557156de64bb3cf8f5035bdf6a141dcd1e8dd271c60a249de53 SHA512 e3410877120482c80695af832d27ea2fa6697106c3264c57c32fb46b556573a381a699b8a11307c4597e5cfb97f7bbdfc5662acd87a129d44e8adc979d507f4a

View File

@@ -1,60 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="GemCore based PC/SC reader drivers for pcsc-lite"
HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/ifd-GemPC"
LICENSE="GPL-2 BSD"
KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
SRC_URI="http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/${P}.tar.gz"
IUSE=""
RDEPEND=">=sys-apps/pcsc-lite-1.2.9_beta7
virtual/libusb:0"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
DOCS=(
README
README.410
README.430
)
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
emake CC="$(tc-getCC)" DESTDIR="${D}" install
einstalldocs
local pcscdir="$($(tc-getPKG_CONFIG) --variable=usbdropdir libpcsclite)"
local conf="/etc/reader.conf.d/${PN}.conf"
dodir "$(dirname "${conf}")"
insinto "$(dirname "${conf}")"
newins "${FILESDIR}/reader.conf" "$(basename "${conf}")"
sed -e "s:%PCSC_DRIVERS_DIR%:${pcscdir}:g" -e "s:%libGemPC410%:libGemPC410.so.${PV}:g" -i "${D}${conf}"
}
pkg_postinst() {
elog "NOTICE:"
elog "1. If you are using GemPC410, modify ${conf}"
elog "2. Run update-reader.conf, yes this is a command..."
elog "3. Restart pcscd"
}
pkg_postrm() {
#
# Without this, pcscd will not start next time.
#
local conf="/etc/reader.conf.d/${PN}.conf"
if ! [[ -f "${conf}" && -f "$(grep LIBPATH "${conf}" | sed 's/LIBPATH *//' | sed 's/ *$//g' | head -n 1)" ]]; then
[[ -f "${conf}" ]] && rm "${conf}"
update-reader.conf
elog "NOTICE:"
elog "You need to restart pcscd"
fi
}