wok view pcsc-lite/receipt @ rev 22291

updated xorg-xkbutils (1.0.3 -> 1.0.4)
author Hans-G?nter Theisgen
date Wed Nov 13 16:11:02 2019 +0100 (2019-11-13)
parents 8dd8bab3f0ca
children 97585ed37bf0
line source
1 # SliTaz package receipt.
3 PACKAGE="pcsc-lite"
4 VERSION="1.8.25"
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"
13 WGET_URL="${WEB_SITE}files/$TARBALL"
15 SUGGESTED="ccid"
16 DEPENDS="udev"
17 BUILD_DEPENDS="wget udev-dev perl libtool"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --disable-libsystemd \
25 --enable-libudev \
26 --enable-ipcdir=/run/pcscd \
27 --enable-usbdropdir=/usr/lib/pcsc/drivers \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/pcsc/drivers
37 mkdir -p $fs/etc
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 cp -a $stuff/init.d $fs/etc
43 }
45 # Daemon options in: daemons.conf
46 post_install()
47 {
48 if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"; then
49 echo '# PC/SC smart card daemon options.' >> "$1/etc/daemons.conf"
50 echo 'PCSCD_OPTIONS=""' >> "$1/etc/daemons.conf"
51 echo '' >> "$1/etc/daemons.conf"
52 fi
53 }