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

Tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 11:36:03 2018 +0200 (2018-12-24)
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 }