30 lines
745 B
Plaintext
30 lines
745 B
Plaintext
# Description: Implements drivers for several smart card readers
|
|
# URL: https://github.com/OpenSC/openct/
|
|
# Packager: milisarge
|
|
# Depends on: 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)
|
|
|
|
build() {
|
|
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
|
|
}
|