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

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents d5aab818505e
children
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="https://pcsclite.apdu.fr/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://alioth.debian.org/frs/download.php/3741/$TARBALL" # FIXME
14 BUILD_DEPENDS="eudev-dev perl libtool"
15 SPLIT="$PACKAGE-dev"
17 DEPENDS_std="eudev"
18 SUGGESTED_std="ccid"
20 compile_rules() {
21 ./configure \
22 --enable-libudev \
23 --enable-ipcdir=/run/pcscd \
24 --enable-usbdropdir=/usr/lib/pcsc/drivers \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make DESTDIR=$install install || return 1
30 install -Dm755 $stuff/pcscd $install/etc/init.d/pcscd
31 install -Dm644 $stuff/pcscd.conf $install/etc/daemons.conf.d/pcscd.conf
32 }
34 # Daemon options in: daemons.conf
35 # TODO: use /etc/daemons.conf.d/
36 post_install_pcsc_lite() {
37 if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"; then
38 cat >> "$1/etc/daemons.conf" <<EOT
39 # PC/SC smart card daemon options.
40 PCSCD_OPTIONS=""
42 EOT
43 fi
44 }