30 lines
730 B
Plaintext
30 lines
730 B
Plaintext
# Tanım: Implements drivers for several smart card readers
|
||
# URL: https://github.com/OpenSC/openct/
|
||
# Paketçi: milisarge
|
||
# Gerekler: doxygen pcsc-lite libusb-compat
|
||
|
||
isim=openct
|
||
surum=0.6.20
|
||
devir=1
|
||
kaynak=(https://github.com/OpenSC/openct/archive/openct-$surum.tar.gz
|
||
udev-sleep.patch)
|
||
|
||
derle() {
|
||
cd $isim-$isim-$surum
|
||
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
|
||
}
|