milis/talimatname/genel/pcsc-lite/talimat

24 lines
632 B
Plaintext

# Description: SCard API (PC/SC) kullanan smartkartlara erişim kütüphanesi
# URL: https://pcsclite.alioth.debian.org/pcsclite.html
# Packager: milisarge
# Depends on: python
name=pcsc-lite
version=1.8.21
release=1
source=(https://alioth.debian.org/frs/download.php/file/4216/$name-$version.tar.bz2)
build() {
cd $name-$version
sed -i -e "s:python:python2:g" src/spy/pcsc-spy
./configure --prefix=/usr \
--sbindir=/usr/bin \
--enable-libudev \
--sysconfdir=/etc \
--enable-ipcdir=/run/pcscd \
--enable-usbdropdir=/usr/lib/pcsc/drivers
make
make DESTDIR=$PKG install
install -d ${PKG}/usr/lib/pcsc/drivers
}