wok view ccid/receipt @ rev 21456

updated mlt-dev again (6.4.1 -> 6.14.0)
author Hans-G?nter Theisgen
date Mon Apr 29 17:54:45 2019 +0100 (2019-04-29)
parents 4409599d86e8
children f9690e227edd
line source
1 # SliTaz package receipt.
3 PACKAGE="ccid"
4 VERSION="1.4.30"
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="https://ccid.apdu.fr/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
14 DEPENDS="libusb pcsc-lite"
15 BUILD_DEPENDS="wget pcsc-lite-dev libusb-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --enable-usbdropdir=/usr/lib/pcsc/drivers \
24 --enable-twinserial \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install &&
28 make DESTDIR=$DESTDIR -C src install_ccidtwin
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/etc/udev/rules.d/ $fs/usr/bin $fs/usr/sbin
35 mkdir -p $fs/etc/reader.conf.d
36 cp -a $install/* $fs/
37 mv $fs/libccidtwin $fs/etc/reader.conf.d
38 cp $src/src/92_pcscd_ccid.rules $fs/etc/udev/rules.d/
39 mv $fs/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist \
40 $fs/etc/libccid_Info.plist
41 ln -s /etc/libccid_Info.plist \
42 $fs/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
43 cp $src/contrib/RSA_SecurID/RSA_SecurID_getpasswd $fs/usr/bin
44 cp $src/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch $fs/usr/sbin
45 }
47 post_install()
48 {
49 # addgroup pcscd if needed
50 if ! grep -q pcscd "$1/etc/group"; then
51 echo
52 echo -n "Adding group pcscd..."
53 chroot "$1/" addgroup pcscd
54 status
55 fi
56 }