30 lines
731 B
Plaintext
30 lines
731 B
Plaintext
# Tanım: SCard API (PC/SC) kullanan smartkartlara erişim kütüphanesi
|
||
# URL: https://pcsclite.alioth.debian.org/pcsclite.html
|
||
# Paketçi: milisarge
|
||
# Gerekler: python
|
||
|
||
isim=pcsc-lite
|
||
surum=1.8.23
|
||
devir=2
|
||
kaynak=(https://pcsclite.apdu.fr/files/pcsc-lite-${surum}.tar.bz2)
|
||
|
||
derle() {
|
||
cd $isim-$surum
|
||
sed -i -e "s:python:python2:g" src/spy/pcsc-spy
|
||
./configure --prefix=/usr \
|
||
--sbindir=/usr/bin \
|
||
--sysconfdir=/etc \
|
||
--enable-filter \
|
||
--enable-ipcdir=/run/pcscd \
|
||
--enable-libudev \
|
||
--enable-usbdropdir=/usr/lib/pcsc/drivers \
|
||
--disable-libsystemd
|
||
|
||
make
|
||
make DESTDIR=$PKG install
|
||
install -d ${PKG}/usr/lib/pcsc/drivers
|
||
cd /sources/milis.git/ayarlar/servisler
|
||
make DESTDIR=$PKG kur-pcsc
|
||
rm -rf $PKG/etc/sysconfig
|
||
}
|