wok-next view ccid/receipt @ rev 20567

xfe: update receipt; qt5: undo `fix math`
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 11 01:07:35 2018 +0300 (2018-04-11)
parents 2985612f2b3f
children 835b3b8ce6ac
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://alioth.debian.org/frs/download.php/3768/$TARBALL"
14 BUILD_DEPENDS="wget pcsc-lite-dev libusb-dev perl"
16 compile_rules() {
17 ./configure \
18 --enable-usbdropdir=/usr/lib/pcsc/drivers \
19 --enable-twinserial \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install &&
23 make DESTDIR=$DESTDIR -C src install_ccidtwin || return 1
25 mkdir -p \
26 $install/etc/udev/rules.d/ \
27 $install/usr/bin/ \
28 $install/usr/sbin/
29 cp $src/src/92_pcscd_ccid.rules $install/etc/udev/rules.d/
30 cp $src/contrib/RSA_SecurID/RSA_SecurID_getpasswd $install/usr/bin/
31 cp $src/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch $install/usr/sbin/
33 mv $install/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist \
34 $install/etc/libccid_Info.plist
35 ln -s /etc/libccid_Info.plist \
36 $install/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
37 }
39 genpkg_rules() {
40 copy @std
41 DEPENDS="libusb pcsc-lite"
42 }
44 # addgroup pcscd if needed
45 post_install() {
46 if ! grep -q pcscd "$1/etc/group"; then
47 chroot "$1/" addgroup pcscd
48 fi
49 }