summaryrefslogtreecommitdiff
path: root/repo/pcsc-lite/pcsc-lite.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/pcsc-lite/pcsc-lite.xibuild')
-rw-r--r--repo/pcsc-lite/pcsc-lite.xibuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/pcsc-lite/pcsc-lite.xibuild b/repo/pcsc-lite/pcsc-lite.xibuild
new file mode 100644
index 0000000..b0d2e25
--- /dev/null
+++ b/repo/pcsc-lite/pcsc-lite.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+MAKEDEPS="make perl libcap-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
+}