wok view ccid/receipt @ rev 19342
Up busybox (1.25.0), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 20 09:51:19 2016 +0200 (2016-07-20) |
parents | 76b72f1ad63c |
children | 970c5ec9a60a |
line source
1 # SliTaz package receipt.
3 PACKAGE="ccid"
4 VERSION="1.4.8"
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="http://pcsclite.alioth.debian.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://alioth.debian.org/frs/download.php/3768/$TARBALL"
13 DEPENDS="libusb pcsc-lite"
14 BUILD_DEPENDS="wget pcsc-lite-dev libusb-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --enable-usbdropdir=/usr/lib/pcsc/drivers \
23 --enable-twinserial \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install &&
26 make DESTDIR=$DESTDIR -C src install_ccidtwin
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/etc/udev/rules.d/ $fs/usr/bin $fs/usr/sbin
33 cp -a $install/* $fs/
34 cp $src/src/92_pcscd_ccid.rules $fs/etc/udev/rules.d/
35 mv $fs/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist \
36 $fs/etc/libccid_Info.plist
37 ln -s /etc/libccid_Info.plist \
38 $fs/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
39 cp $src/contrib/RSA_SecurID/RSA_SecurID_getpasswd $fs/usr/bin
40 cp $src/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch $fs/usr/sbin
41 }
43 post_install()
44 {
45 # addgroup pcscd if needed
46 if ! grep -q pcscd "$1/etc/group"; then
47 echo -n "Adding group pcscd..."
48 chroot "$1/" addgroup pcscd
49 status
50 fi
51 }