pcsclite: Modified package added instructions on INSTALL file
for launching the daemon and for the location of the drivers. modified configure_args to specify where to put systemd files.
This commit is contained in:
parent
301bbd4107
commit
d46036981c
2 changed files with 44 additions and 2 deletions
42
srcpkgs/pcsclite/INSTALL
Normal file
42
srcpkgs/pcsclite/INSTALL
Normal file
|
@ -0,0 +1,42 @@
|
|||
|
||||
# This script will advise the user of the needed steps to
|
||||
# activate the systemd service of PC/SC Lite
|
||||
#
|
||||
case "${ACTION}" in
|
||||
post)
|
||||
|
||||
cat << _EOF
|
||||
=====================================================================
|
||||
|
||||
- To activate the pcscd daemon, needed to manage the smart card you
|
||||
have to activate the systemd service typing as root:
|
||||
|
||||
# systemctl enable pcscd.socket
|
||||
# systemctl start pcscd.socket
|
||||
|
||||
|
||||
- DRIVERS
|
||||
|
||||
To use your smart card reader you have to install a USB drivers.
|
||||
Install a driver package that is named pcsc-<something>
|
||||
|
||||
The directory that contain the drivers is:
|
||||
|
||||
/usr/lib/pcsc/drivers
|
||||
|
||||
- In case you have a serial port reader, you have to create the
|
||||
directory:
|
||||
|
||||
/etc/reader.conf.d
|
||||
|
||||
and put in it the configuration file for your reader, see:
|
||||
|
||||
https://alioth.debian.org/projects/pcsclite/
|
||||
|
||||
for more details.
|
||||
|
||||
=====================================================================
|
||||
|
||||
_EOF
|
||||
;;
|
||||
esac
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'pcsclite'
|
||||
pkgname=pcsclite
|
||||
version=1.8.11
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||
homepage="https://alioth.debian.org/projects/pcsclite"
|
||||
license="Modified BSD"
|
||||
short_desc="Middleware to access a smart card using SCard API (PC/SC)"
|
||||
configure_args="--enable-libudev"
|
||||
configure_args="--enable-libudev --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
||||
hostmakedepends="intltool pkg-config python"
|
||||
makedepends="libudev-devel libusb-devel systemd-devel python-devel"
|
||||
depends="python"
|
||||
|
|
Loading…
Reference in a new issue