wok view pcsc-lite/receipt @ rev 23426
updated php packages (7.3.16 -> 7.4.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 15:23:29 2020 +0100 (2020-04-01) |
parents | 2e1dc40b652c |
children | 5d79829fa876 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcsc-lite"
4 VERSION="1.8.26"
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="${WEB_SITE}files/$TARBALL"
14 SUGGESTED="ccid"
15 DEPENDS="udev"
16 BUILD_DEPENDS="libtool perl udev-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --disable-libsystemd \
24 --enable-libudev \
25 --enable-ipcdir=/run/pcscd \
26 --enable-usbdropdir=/usr/lib/pcsc/drivers \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/pcsc/drivers
36 mkdir -p $fs/etc
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $stuff/init.d $fs/etc
42 }
44 # Daemon options in: daemons.conf
45 post_install()
46 {
47 if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"
48 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 }