milis/talimatname/genel/c/ccid/talimat

25 lines
763 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: USB Chip/Smart kart arayüz erişim sürücüsü
# URL: http://pcsclite.alioth.debian.org/ccid.html
# Paketçi: milisarge
# Gerekler: pcsc-lite libusb
# Grup: sürücüler
isim=ccid
surum=1.4.29
devir=1
kaynak=(https://ccid.apdu.fr/files/${isim}-${surum}.tar.bz2)
derle() {
cd $isim-$surum
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-twinserial \
--enable-serialconfdir=/etc/reader.conf.d
make
make DESTDIR=$PKG install
mv "${PKG}/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist" "${PKG}/etc/libccid_Info.plist"
ln -s /etc/libccid_Info.plist ${PKG}/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
install -d $PKG/usr/lib/udev/rules.d/
install -Dm644 src/92_pcscd_ccid.rules $PKG/usr/lib/udev/rules.d/
}