summaryrefslogtreecommitdiff
path: root/repo/system/pcsc-lite/pcsc-lite.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/pcsc-lite/pcsc-lite.xibuild')
-rw-r--r--repo/system/pcsc-lite/pcsc-lite.xibuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/system/pcsc-lite/pcsc-lite.xibuild b/repo/system/pcsc-lite/pcsc-lite.xibuild
new file mode 100644
index 0000000..86d86d1
--- /dev/null
+++ b/repo/system/pcsc-lite/pcsc-lite.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+MAKEDEPS="make perl lipcap-ng"
+DEPS="musl sbase eudev"
+
+PKG_VER=1.9.4
+SOURCE=https://pcsclite.apdu.fr/files/pcsc-lite-$PKG_VER.tar.bz2
+DESC="Middleware to access a smart card using SCard API (PC/SC)"
+
+build () {
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-libusb \
+ --enable-libudev \
+ --disable-maintainer-mode \
+ --disable-silent-rules \
+ --without-systemdsystemunitdir \
+ --enable-ipcdir=/run/pcscd \
+ --enable-usbdropdir=/usr/lib/pcsc/drivers \
+ --disable-libsystemd \
+ --disable-polkit
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}