wok-6.x view pcsc-lite/receipt @ rev 20353
pinentry: remove gcc63 and fltk
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 13:22:40 2018 +0000 (2018-06-09) |
parents | 51a1ebbda768 |
children | 8dd8bab3f0ca |
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="http://pcsclite.alioth.debian.org/"
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 }