wok-6.x rev 22586

updated ccid (1.4.30 -> 1.4.31)
author Hans-G?nter Theisgen
date Tue Jan 07 14:37:06 2020 +0100 (2020-01-07)
parents 1e19188eb149
children 7858ead7023c
files ccid/receipt
line diff
     1.1 --- a/ccid/receipt	Tue Jan 07 14:27:52 2020 +0100
     1.2 +++ b/ccid/receipt	Tue Jan 07 14:37:06 2020 +0100
     1.3 @@ -1,28 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ccid"
     1.7 -VERSION="1.4.30"
     1.8 +VERSION="1.4.31"
     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  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="$WEB_SITE/files/$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}files/$TARBALL"
    1.19  
    1.20  DEPENDS="libusb pcsc-lite"
    1.21 -BUILD_DEPENDS="wget pcsc-lite-dev libusb-dev"
    1.22 +BUILD_DEPENDS="libusb-dev pcsc-lite-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		--sysconfdir=/etc \
    1.30 -		--enable-serialconfdir=/etc/reader.conf.d \
    1.31 -		--enable-usbdropdir=/usr/lib/pcsc/drivers \
    1.32 -		--enable-twinserial \
    1.33 +	./configure						\
    1.34 +		--prefix=/usr					\
    1.35 +		--sysconfdir=/etc				\
    1.36 +		--enable-serialconfdir=/etc/reader.conf.d	\
    1.37 +		--enable-usbdropdir=/usr/lib/pcsc/drivers	\
    1.38 +		--enable-twinserial				\
    1.39  		$CONFIGURE_ARGS &&
    1.40  	make &&
    1.41  	make DESTDIR=$DESTDIR install &&
    1.42 @@ -32,21 +32,26 @@
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/etc/udev/rules.d/ $fs/usr/bin $fs/usr/sbin
    1.47 -	cp -a $install/* $fs/
    1.48 -	cp $src/src/92_pcscd_ccid.rules $fs/etc/udev/rules.d/
    1.49 +	mkdir -p $fs/etc/udev/rules.d
    1.50 +	mkdir -p $fs/usr/bin $fs/usr/sbin
    1.51 +
    1.52 +	cp -a $install/*		$fs/
    1.53 +	cp $src/src/92_pcscd_ccid.rules	$fs/etc/udev/rules.d/
    1.54  	mv $fs/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist \
    1.55 -		$fs/etc/libccid_Info.plist
    1.56 +					$fs/etc/libccid_Info.plist
    1.57  	ln -s /etc/libccid_Info.plist \
    1.58  		$fs/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
    1.59 -	cp $src/contrib/RSA_SecurID/RSA_SecurID_getpasswd $fs/usr/bin
    1.60 -	cp $src/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch $fs/usr/sbin
    1.61 +	cp $src/contrib/RSA_SecurID/RSA_SecurID_getpasswd \
    1.62 +					$fs/usr/bin
    1.63 +	cp $src/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch \
    1.64 +					$fs/usr/sbin
    1.65  }
    1.66  
    1.67  post_install()
    1.68  {
    1.69  	# addgroup pcscd if needed                                                                                                                
    1.70 -	if ! grep -q pcscd "$1/etc/group"; then
    1.71 +	if ! grep -q pcscd "$1/etc/group"
    1.72 +	  then
    1.73  		echo
    1.74  		echo -n "Adding group pcscd..."
    1.75  		chroot "$1/" addgroup pcscd