wok view ccid/receipt @ rev 21900

updated serd and serd-dev (0.18.0 -> 0.30.0)
author Hans-G?nter Theisgen
date Thu Oct 03 20:51:42 2019 +0100 (2019-10-03)
parents 3a1a00c50d15
children 40ec0f5146e3
line source
1 # SliTaz package receipt.
3 PACKAGE="ccid"
4 VERSION="1.4.30"
5 CATEGORY="base-system"
6 SHORT_DESC="Chip/Smart Card Interface Devices driver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://ccid.apdu.fr/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
14 DEPENDS="libusb pcsc-lite"
15 BUILD_DEPENDS="wget pcsc-lite-dev libusb-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --enable-serialconfdir=/etc/reader.conf.d \
24 --enable-usbdropdir=/usr/lib/pcsc/drivers \
25 --enable-twinserial \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install &&
29 make DESTDIR=$DESTDIR -C src install_ccidtwin
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/etc/udev/rules.d/ $fs/usr/bin $fs/usr/sbin
36 cp -a $install/* $fs/
37 cp $src/src/92_pcscd_ccid.rules $fs/etc/udev/rules.d/
38 mv $fs/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist \
39 $fs/etc/libccid_Info.plist
40 ln -s /etc/libccid_Info.plist \
41 $fs/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
42 cp $src/contrib/RSA_SecurID/RSA_SecurID_getpasswd $fs/usr/bin
43 cp $src/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch $fs/usr/sbin
44 }
46 post_install()
47 {
48 # addgroup pcscd if needed
49 if ! grep -q pcscd "$1/etc/group"; then
50 echo
51 echo -n "Adding group pcscd..."
52 chroot "$1/" addgroup pcscd
53 status
54 fi
55 }