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

30 lines
731 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# 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
2018-06-12 15:42:35 +02:00
devir=2
2018-06-09 00:06:58 +02:00
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 \
2018-06-12 15:42:35 +02:00
--sbindir=/usr/bin \
--sysconfdir=/etc \
--enable-filter \
--enable-ipcdir=/run/pcscd \
--enable-libudev \
--enable-usbdropdir=/usr/lib/pcsc/drivers \
--disable-libsystemd
2018-06-09 00:06:58 +02:00
make
make DESTDIR=$PKG install
install -d ${PKG}/usr/lib/pcsc/drivers
2018-06-12 15:42:35 +02:00
cd /sources/milis.git/ayarlar/servisler
make DESTDIR=$PKG kur-pcsc
rm -rf $PKG/etc/sysconfig
2018-06-09 00:06:58 +02:00
}