wok view pcsc-lite/receipt @ rev 21174

updated libev and libev-dev (4.04 -> 4.25)
author Hans-G?nter Theisgen
date Mon Apr 01 16:56:17 2019 +0100 (2019-04-01)
parents 9e01bc6321ea
children 2e1dc40b652c
line source
1 # SliTaz package receipt.
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://alioth.debian.org/frs/download.php/3741/$TARBALL"
13 SUGGESTED="ccid"
14 DEPENDS="udev"
15 BUILD_DEPENDS="wget udev-dev perl libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --enable-libudev \
24 --enable-ipcdir=/run/pcscd \
25 --enable-usbdropdir=/usr/lib/pcsc/drivers \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/pcsc/drivers $fs/etc
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $stuff/init.d $fs/etc
38 }
40 # Daemon options in: daemons.conf
41 post_install()
42 {
43 if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"; then
44 echo '# PC/SC smart card daemon options.' >> "$1/etc/daemons.conf"
45 echo 'PCSCD_OPTIONS=""' >> "$1/etc/daemons.conf"
46 echo '' >> "$1/etc/daemons.conf"
47 fi
48 }