summaryrefslogtreecommitdiff
path: root/repo/system/pcsc-lite/pcsc-lite.xibuild
blob: b0d2e25071b2a4bf7332c86f9370752ec466e6d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}