milis/talimatname/genel/p/pcsc-lite/talimat

31 lines
751 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: SCard API (PC/SC) kullanan smartkartlara erişim kütüphanesi
# URL: https://pcsclite.alioth.debian.org/pcsclite.html
# Paketçi: milisarge
# Gerekler: python
# Grup: kütüphane
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
}