summaryrefslogtreecommitdiff
path: root/manualPorts/pcsc-lite/Pkgfile
blob: 1ea2229c78b19c020ec5769d7b8dd287803143d7 (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
# 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.9.0
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 \
		--disable-libsystemd
	make
	make DESTDIR=$PKG install
	rm $PKG/usr/share/doc/pcsc-lite/README.*
}