wok-next diff ccid/receipt @ rev 21596
updated dos2unix (7.4.0 -> 7.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:10:06 2020 +0100 (2020-06-24) |
parents | 8459b1de4897 |
children |
line diff
1.1 --- a/ccid/receipt Tue Nov 06 14:32:27 2018 +0200 1.2 +++ b/ccid/receipt Wed Jun 24 14:10:06 2020 +0100 1.3 @@ -1,9 +1,9 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="ccid" 1.7 -VERSION="1.4.30" 1.8 +VERSION="1.4.32" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="Chip/Smart Card Interface Devices driver" 1.11 +SHORT_DESC="Chip and Smart Card Interface Devices driver" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="LGPL2.1" 1.14 WEB_SITE="https://ccid.apdu.fr/" 1.15 @@ -11,12 +11,13 @@ 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 WGET_URL="https://ccid.apdu.fr/files/$TARBALL" 1.18 1.19 -BUILD_DEPENDS="pcsc-lite-dev libusb-dev perl" 1.20 +BUILD_DEPENDS="libusb-dev pcsc-lite-dev perl" 1.21 1.22 -compile_rules() { 1.23 - ./configure \ 1.24 - --enable-usbdropdir=/usr/lib/pcsc/drivers \ 1.25 - --enable-twinserial \ 1.26 +compile_rules() 1.27 +{ 1.28 + ./configure \ 1.29 + --enable-usbdropdir=/usr/lib/pcsc/drivers \ 1.30 + --enable-twinserial \ 1.31 $CONFIGURE_ARGS && 1.32 fix libtool && 1.33 make && 1.34 @@ -27,27 +28,33 @@ 1.35 $install/etc/udev/rules.d/ \ 1.36 $install/usr/bin/ \ 1.37 $install/usr/sbin/ 1.38 - cp $src/src/92_pcscd_ccid.rules $install/etc/udev/rules.d/ 1.39 - cp $src/contrib/RSA_SecurID/RSA_SecurID_getpasswd $install/usr/bin/ 1.40 - cp $src/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch $install/usr/sbin/ 1.41 + cp $src/src/92_pcscd_ccid.rules \ 1.42 + $install/etc/udev/rules.d/ 1.43 + cp $src/contrib/RSA_SecurID/RSA_SecurID_getpasswd \ 1.44 + $install/usr/bin/ 1.45 + cp $src/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch \ 1.46 + $install/usr/sbin/ 1.47 1.48 mv $install/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist \ 1.49 - $install/etc/libccid_Info.plist 1.50 + $install/etc/libccid_Info.plist 1.51 ln -s /etc/libccid_Info.plist \ 1.52 - $install/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist 1.53 + $install/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist 1.54 fix symlinks 1.55 1.56 - cook_pick_docs README 1.57 + cook_pick_docs README.md 1.58 } 1.59 1.60 -genpkg_rules() { 1.61 +genpkg_rules() 1.62 +{ 1.63 copy @std 1.64 DEPENDS="libusb pcsc-lite" 1.65 } 1.66 1.67 # addgroup pcscd if needed 1.68 -post_install() { 1.69 - if ! grep -q pcscd "$1/etc/group"; then 1.70 +post_install() 1.71 +{ 1.72 + if ! grep -q pcscd "$1/etc/group" 1.73 + then 1.74 chroot "$1/" addgroup pcscd 1.75 fi 1.76 }