# Tanım: Implements drivers for several smart card readers # URL: https://github.com/OpenSC/openct/ # Paketçi: milisarge # Gerekler: doxygen pcsc-lite libusb-compat name=openct version=0.6.20 release=1 source=(https://github.com/OpenSC/openct/archive/openct-$version.tar.gz udev-sleep.patch) derle() { cd $name-$name-$version patch -p1 -i "${SRC}/udev-sleep.patch" ./bootstrap ./configure --prefix=/usr \ --sbindir=/usr/bin \ --sysconfdir=/etc \ --localstatedir=/var \ --with-udev=/usr/lib/udev \ --enable-usb \ --enable-pcsc \ --disable-static make install -d "$PKG"/etc make DESTDIR="$PKG" install install -D etc/openct.udev "$PKG"/usr/lib/udev/rules.d/95-openct.rules }