milis/talimatname/genel/o/openct/talimat

30 lines
730 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
}