Merge pull request #404 from onekk/master

pcsclite: Modified package added instructions on INSTALL file
This commit is contained in:
Juan RP 2014-05-19 15:30:05 +02:00
commit 9a27dd08f6
2 changed files with 44 additions and 2 deletions

42
srcpkgs/pcsclite/INSTALL Normal file
View 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

View file

@ -1,13 +1,13 @@
# Template file for 'pcsclite' # Template file for 'pcsclite'
pkgname=pcsclite pkgname=pcsclite
version=1.8.11 version=1.8.11
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>" maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
homepage="https://alioth.debian.org/projects/pcsclite" homepage="https://alioth.debian.org/projects/pcsclite"
license="Modified BSD" license="Modified BSD"
short_desc="Middleware to access a smart card using SCard API (PC/SC)" 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" hostmakedepends="intltool pkg-config python"
makedepends="libudev-devel libusb-devel systemd-devel python-devel" makedepends="libudev-devel libusb-devel systemd-devel python-devel"
depends="python" depends="python"