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

libnsgif: add missing stuff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 15:16:45 2018 +0200 (2018-03-23)
parents 9e01bc6321ea
children 9e5dca6702bf
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="http://pcsclite.alioth.debian.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://alioth.debian.org/frs/download.php/3741/$TARBALL"
14 BUILD_DEPENDS="udev-dev perl libtool"
15 SPLIT="pcsc-lite-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --enable-libudev \
21 --enable-ipcdir=/run/pcscd \
22 --enable-usbdropdir=/usr/lib/pcsc/drivers \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 pcsc-lite)
30 mkdir -p $fs/usr/lib/pcsc/drivers $fs/etc
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $stuff/init.d $fs/etc
35 DEPENDS="udev"
36 SUGGESTED="ccid"
37 ;;
38 *-dev)
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/include $fs/usr
41 cp -a $install/usr/lib/*a $fs/usr/lib
42 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
43 ;;
44 esac
45 }
47 # Daemon options in: daemons.conf
48 post_install_pcsc_lite() {
49 if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"; then
50 cat >> "$1/etc/daemons.conf" <<EOT
51 # PC/SC smart card daemon options.
52 PCSCD_OPTIONS=""
54 EOT
55 fi
56 }