summaryrefslogtreecommitdiff
path: root/package/ccid
diff options
context:
space:
mode:
Diffstat (limited to 'package/ccid')
-rw-r--r--package/ccid/Makefile15
-rw-r--r--package/ccid/files/gemalto.conf16
2 files changed, 25 insertions, 6 deletions
diff --git a/package/ccid/Makefile b/package/ccid/Makefile
index 87f48c483..d927c4264 100644
--- a/package/ccid/Makefile
+++ b/package/ccid/Makefile
@@ -4,14 +4,14 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= ccid
-PKG_VERSION:= 1.3.12
+PKG_VERSION:= 1.4.1
PKG_RELEASE:= 1
-PKG_MD5SUM:= 7fcdbacacd955659286f988fa9b6e0be
+PKG_MD5SUM:= fef5f950dc35202df2fed832498986b9
PKG_DESCR:= a generic USB CCID and ICCD driver
PKG_SECTION:= crypto
PKG_BUILDDEP:= pcsc-lite
PKG_URL:= http://pcsclite.alioth.debian.org/ccid.html
-PKG_SITES:= https://alioth.debian.org/frs/download.php/3281/
+PKG_SITES:= http://alioth.debian.org/frs/download.php/3281/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
@@ -22,8 +22,11 @@ $(eval $(call PKG_template,CCID,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_
CONFIGURE_ARGS+= --enable-twinserial
post-install:
- $(INSTALL_DIR) $(IDIR_CCID)/usr/pcsc/drivers/serial
- $(CP) $(WRKINST)/usr/pcsc/drivers/serial/libccidtwin.so* \
- $(IDIR_CCID)/usr/pcsc/drivers/serial
+ $(INSTALL_DIR) $(IDIR_CCID)/etc/reader.conf.d
+ $(INSTALL_DIR) $(IDIR_CCID)/usr/lib/pcsc/drivers/
+ $(INSTALL_DATA) ./files/gemalto.conf \
+ $(IDIR_CCID)/etc/reader.conf.d
+ $(CP) $(WRKINST)/usr/lib/pcsc/drivers/* \
+ $(IDIR_CCID)/usr/lib/pcsc/drivers/
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ccid/files/gemalto.conf b/package/ccid/files/gemalto.conf
new file mode 100644
index 000000000..a033f80ac
--- /dev/null
+++ b/package/ccid/files/gemalto.conf
@@ -0,0 +1,16 @@
+# FRIENDLYNAME Any name
+# DEVICENAME device filename used by the reader:
+# /dev/ttyS0 for the first serial port
+# or /dev/null if this is not used by the driver
+# LIBPATH Location of the driver library for your reader
+# CHANNELID
+# 0x0103F8 or 1 for /dev/ttyS0 (COM1)
+# 0x0102F8 or 2 for /dev/ttyS1 (COM2)
+# 0x0103E8 or 3 for /dev/ttyS2 (COM3)
+# 0x0102E8 or 4 for /dev/ttyS3 (COM4)
+#
+
+FRIENDLYNAME "GemPCTwin serial"
+DEVICENAME /dev/ttyS0
+LIBPATH /usr/lib/pcsc/drivers/serial/libccidtwin.so
+CHANNELID 0