25 lines
760 B
Plaintext
25 lines
760 B
Plaintext
# 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ü
|
||
|
||
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/
|
||
}
|