summaryrefslogtreecommitdiff
path: root/manualPorts/pcsc-lite/Pkgfile
blob: 127866fdea84d2f67c9ec1184c191ed6302a429b (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
# Description: Middleware to access a smart card using SCard API (PC/SC)
# URL: https://pcsclite.alioth.debian.org/pcsclite.html
# Maintainer: Erich Eckner, crux at eckner dot net
# Contributor: John Vogel, jvogel4 at stny dot rr dot com
# Depends on:

name=pcsc-lite
version=1.8.22
release=1
source=(https://pcsclite.apdu.fr/files/$name-$version.tar.bz2)

build() {
	ls -lA
	cd $name-$version
	./configure \
		--prefix=/usr \
		--sbindir=/usr/bin \
		--sysconfdir=/etc \
		--enable-filter \
		--enable-ipcdir=/run/pcscd \
		--enable-libudev \
		--enable-usbdropdir=/usr/lib/pcsc/drivers
	make
	make DESTDIR=$PKG install
	rm $PKG/usr/share/doc/pcsc-lite/README.*
}