summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2018-07-19 17:45:46 +0200
committerAvatar Timo Gurr <tgurr@exherbo.org> 2018-07-19 17:45:46 +0200
commitd7493e5bad7ae6c8329d28bee68026751ac69949 (patch)
treeb07a58f58ecfe3df839c17f3ee101249d201a49e
parent125aecb32ebf1e62ccbf1e890ca45fa8b29ba36f (diff)
downloadhardware-master.tar.gz
hardware-master.tar.xz
ccid: version bump to 1.4.29HEADmaster
* enable serial by default (no additional dependencies) * enable usb by default like already in acsccid and done for most other packages. Else this package installs only a udev file and Kobil_mIDentity_switch requires it as well * build and install Kobil mIDentity device support (no additional dependencies)
-rw-r--r--packages/app-crypt/ccid/ccid-1.4.26.exheres-037
-rw-r--r--packages/app-crypt/ccid/ccid-1.4.29.exheres-055
2 files changed, 55 insertions, 37 deletions
diff --git a/packages/app-crypt/ccid/ccid-1.4.26.exheres-0 b/packages/app-crypt/ccid/ccid-1.4.26.exheres-0
deleted file mode 100644
index ca6f963..0000000
--- a/packages/app-crypt/ccid/ccid-1.4.26.exheres-0
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 2009-2017 Pierre Lejeune <superheron@gmail.com>
-# Distributed under the terms of the GNU General Public License v2
-
-require alioth-debian [ project=pcsclite dl_number=4205 ] udev-rules
-
-SUMMARY="CCID free software driver"
-DESCRIPTION="This package provides the source code for a generic USB CCID (Chip/Smart Card Interface
-Devices) driver and ICCD (Integrated Circuit(s) Card Devices)."
-HOMEPAGE="${HOMEPAGE}/ccid.html"
-
-LICENCES="LGPL-2.1"
-SLOT="0"
-PLATFORMS="~amd64 ~x86"
-MYOPTIONS="serial usb"
-
-DEPENDENCIES="
- build:
- sys-devel/flex
- virtual/pkg-config[>=0.9.0]
- build+run:
- sys-apps/pcsc-lite[>=1.8.3]
- usb? ( dev-libs/libusb:1[>=1.0.9] )
- run:
- sys-apps/systemd [[ note = [ For udev ] ]]
-"
-
-DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
- 'serial twinserial'
- 'usb libusb'
-)
-
-src_install() {
- default
- insinto "${UDEVRULESDIR}"
- doins src/92_pcscd_${PN}.rules
-}
-
diff --git a/packages/app-crypt/ccid/ccid-1.4.29.exheres-0 b/packages/app-crypt/ccid/ccid-1.4.29.exheres-0
new file mode 100644
index 0000000..4cb4f38
--- /dev/null
+++ b/packages/app-crypt/ccid/ccid-1.4.29.exheres-0
@@ -0,0 +1,55 @@
+# Copyright 2009-2017 Pierre Lejeune <superheron@gmail.com>
+# Distributed under the terms of the GNU General Public License v2
+
+require udev-rules [ udev_files=[ src/92_pcscd_${PN}.rules ] ]
+
+SUMMARY="CCID free software driver"
+DESCRIPTION="
+This package provides the source code for a generic USB CCID (Chip/Smart Card Interface Devices)
+driver and ICCD (Integrated Circuit(s) Card Devices).
+"
+HOMEPAGE="https://ccid.apdu.fr"
+DOWNLOADS="${HOMEPAGE}/files/${PNV}.tar.bz2"
+
+LICENCES="LGPL-2.1"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+MYOPTIONS="
+ ( providers: eudev systemd ) [[ number-selected = exactly-one ]]
+"
+
+DEPENDENCIES="
+ build:
+ sys-devel/flex
+ virtual/pkg-config[>=0.9.0]
+ build+run:
+ dev-libs/libusb:1[>=1.0.9]
+ sys-apps/pcsc-lite[>=1.8.3]
+ run:
+ providers:eudev? ( sys-apps/eudev )
+ providers:systemd? ( sys-apps/systemd )
+"
+
+DEFAULT_SRC_CONFIGURE_PARAMS=(
+ --enable-libusb
+ --enable-pcsclite
+ --enable-twinserial
+ --disable-embedded
+ --disable-zlp
+)
+
+src_compile() {
+ default
+
+ emake -C contrib/Kobil_mIDentity_switch
+}
+
+src_install() {
+ default
+
+ install_udev_files
+
+ dobin contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch
+ doman contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.8
+}
+