30 lines
727 B
Text
30 lines
727 B
Text
# description : Middleware to access a smart card using SCard API (PC/SC)
|
|
# homepage : https://pcsclite.apdu.fr
|
|
# depends : polkit
|
|
|
|
name=pcsclite
|
|
version=2.3.0
|
|
release=1
|
|
noextract=""
|
|
backup=""
|
|
source="https://pcsclite.apdu.fr/files/pcsc-lite-$version.tar.xz"
|
|
|
|
build() {
|
|
meson setup pcsc-lite-$version build \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--sbindir=/usr/sbin/ \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D libudev=true \
|
|
-D usb=true \
|
|
-D usbdropdir=/usr/lib/pcsc/drivers \
|
|
-D libsystemd=false
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
install -d $PKG/usr/lib/pcsc/drivers
|
|
}
|