milis/talimatname/genel/o/openct/talimat

30 lines
730 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Implements drivers for several smart card readers
2017-06-28 11:19:04 +02:00
# URL: https://github.com/OpenSC/openct/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: doxygen pcsc-lite libusb-compat
2017-06-28 11:19:04 +02:00
2017-10-28 14:10:23 +02:00
isim=openct
surum=0.6.20
devir=1
kaynak=(https://github.com/OpenSC/openct/archive/openct-$surum.tar.gz
2017-06-28 11:19:04 +02:00
udev-sleep.patch)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$isim-$surum
2017-06-28 11:19:04 +02:00
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
}