wok-6.x rev 13665
ccid: typo in usbdropdir, add group pcscd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 24 11:22:59 2012 +0100 (2012-11-24) |
parents | 3ff94913cdab |
children | efab0c6287b9 |
files | ccid/receipt |
line diff
1.1 --- a/ccid/receipt Fri Nov 23 13:37:26 2012 +0000 1.2 +++ b/ccid/receipt Sat Nov 24 11:22:59 2012 +0100 1.3 @@ -18,9 +18,10 @@ 1.4 cd $src 1.5 ./configure --prefix=/usr \ 1.6 --sysconfdir=/etc \ 1.7 - --enable-usbdropdir=/usr/lib/pscs/drivers \ 1.8 + --enable-usbdropdir=/usr/lib/pcsc/drivers \ 1.9 $CONFIGURE_ARGS && 1.10 - make && make DESTDIR=$DESTDIR install 1.11 + make && make DESTDIR=$DESTDIR install && 1.12 + make DESTDIR=$DESTDIR -C src install_ccidtwin 1.13 } 1.14 1.15 # Rules to gen a SliTaz package suitable for Tazpkg. 1.16 @@ -29,4 +30,18 @@ 1.17 mkdir -p $fs/etc/udev/rules.d/ 1.18 cp -a $install/* $fs/ 1.19 cp $src/src/92_pcscd_ccid.rules $fs/etc/udev/rules.d/ 1.20 + mv $fs/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist \ 1.21 + $fs/etc/libccid_Info.plist 1.22 + ln -s $fs/etc/libccid_Info.plist \ 1.23 + /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist 1.24 } 1.25 + 1.26 +post_install() 1.27 +{ 1.28 + # addgroup pcscd if needed 1.29 + if ! grep -q pcscd $1/etc/group; then 1.30 + echo -n "Adding group pcscd..." 1.31 + chroot $1/ addgroup pcscd 1.32 + status 1.33 + fi 1.34 +}