wok-next view pcsc-lite/receipt @ rev 20646

grub2-efi: ls module embedded
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 02 11:12:13 2018 +0200 (2018-05-02)
parents 10df65db91ad
children a3c581bf52b8
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcsc-lite"
4 VERSION="1.8.6"
5 CATEGORY="base-system"
6 SHORT_DESC="SCard interface for communicating to smart cards and readers"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://pcsclite.alioth.debian.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://alioth.debian.org/frs/download.php/3741/$TARBALL"
14 BUILD_DEPENDS="eudev-dev perl libtool"
15 SPLIT="pcsc-lite-dev"
17 compile_rules() {
18 ./configure \
19 --enable-libudev \
20 --enable-ipcdir=/run/pcscd \
21 --enable-usbdropdir=/usr/lib/pcsc/drivers \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make DESTDIR=$DESTDIR install || return 1
27 install -Dm755 $stuff/init.d/pcscd $install/etc/init.d/pcscd
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 pcsc-lite)
33 copy @std
34 DEPENDS="eudev"
35 SUGGESTED="ccid"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }
43 # Daemon options in: daemons.conf
44 post_install_pcsc_lite() {
45 if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"; then
46 cat >> "$1/etc/daemons.conf" <<EOT
47 # PC/SC smart card daemon options.
48 PCSCD_OPTIONS=""
50 EOT
51 fi
52 }