wok-next view ccid/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 8459b1de4897 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ccid"
4 VERSION="1.4.32"
5 CATEGORY="base-system"
6 SHORT_DESC="Chip and 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="https://ccid.apdu.fr/files/$TARBALL"
14 BUILD_DEPENDS="libusb-dev pcsc-lite-dev perl"
16 compile_rules()
17 {
18 ./configure \
19 --enable-usbdropdir=/usr/lib/pcsc/drivers \
20 --enable-twinserial \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make DESTDIR=$install install &&
25 make DESTDIR=$install -C src install_ccidtwin || return 1
27 mkdir -p \
28 $install/etc/udev/rules.d/ \
29 $install/usr/bin/ \
30 $install/usr/sbin/
31 cp $src/src/92_pcscd_ccid.rules \
32 $install/etc/udev/rules.d/
33 cp $src/contrib/RSA_SecurID/RSA_SecurID_getpasswd \
34 $install/usr/bin/
35 cp $src/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch \
36 $install/usr/sbin/
38 mv $install/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist \
39 $install/etc/libccid_Info.plist
40 ln -s /etc/libccid_Info.plist \
41 $install/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
42 fix symlinks
44 cook_pick_docs README.md
45 }
47 genpkg_rules()
48 {
49 copy @std
50 DEPENDS="libusb pcsc-lite"
51 }
53 # addgroup pcscd if needed
54 post_install()
55 {
56 if ! grep -q pcscd "$1/etc/group"
57 then
58 chroot "$1/" addgroup pcscd
59 fi
60 }