summaryrefslogtreecommitdiff
path: root/repo/pcsc-lite/pcsc-lite.xibuild
blob: 68ed25a89bd10bb410336b6c5f18f12da75dcc33 (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.9
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
}