pcsc-gunc

This commit is contained in:
milisbir 2018-06-12 15:42:35 +02:00
parent 3dffeaa135
commit 47b0f915a9
2 changed files with 16 additions and 9 deletions

View File

@ -5,9 +5,9 @@
# Grup: sürücüler # Grup: sürücüler
isim=ccid isim=ccid
surum=1.4.27 surum=1.4.29
devir=1 devir=1
kaynak=(https://alioth.debian.org/frs/download.php/file/4218/${isim}-${surum}.tar.bz2) kaynak=(https://ccid.apdu.fr/files/${isim}-${surum}.tar.bz2)
derle() { derle() {
cd $isim-$surum cd $isim-$surum
@ -19,4 +19,6 @@ derle() {
make DESTDIR=$PKG install make DESTDIR=$PKG install
mv "${PKG}/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist" "${PKG}/etc/libccid_Info.plist" 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 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/
} }

View File

@ -5,7 +5,7 @@
isim=pcsc-lite isim=pcsc-lite
surum=1.8.23 surum=1.8.23
devir=1 devir=2
kaynak=(https://pcsclite.apdu.fr/files/pcsc-lite-${surum}.tar.bz2) kaynak=(https://pcsclite.apdu.fr/files/pcsc-lite-${surum}.tar.bz2)
derle() { derle() {
@ -13,12 +13,17 @@ derle() {
sed -i -e "s:python:python2:g" src/spy/pcsc-spy sed -i -e "s:python:python2:g" src/spy/pcsc-spy
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sbindir=/usr/bin \ --sbindir=/usr/bin \
--enable-libudev \
--sysconfdir=/etc \ --sysconfdir=/etc \
--disable-libsystemd \ --enable-filter \
--enable-ipcdir=/run/pcscd \ --enable-ipcdir=/run/pcscd \
--enable-usbdropdir=/usr/lib/pcsc/drivers --enable-libudev \
--enable-usbdropdir=/usr/lib/pcsc/drivers \
--disable-libsystemd
make make
make DESTDIR=$PKG install make DESTDIR=$PKG install
install -d ${PKG}/usr/lib/pcsc/drivers install -d ${PKG}/usr/lib/pcsc/drivers
cd /sources/milis.git/ayarlar/servisler
make DESTDIR=$PKG kur-pcsc
rm -rf $PKG/etc/sysconfig
} }