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

Remove *.la files.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 07 16:01:14 2018 +0300 (2018-04-07)
parents 4396aed7eb01
children 10df65db91ad
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 --enable-libudev \
20 --enable-ipcdir=/run/pcscd \
21 --enable-usbdropdir=/usr/lib/pcsc/drivers \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install || return 1
26 install -Dm755 $stuff/init.d/pcscd $install/etc/init.d/pcscd
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 pcsc-lite)
32 copy @std
33 DEPENDS="udev"
34 SUGGESTED="ccid"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }
42 # Daemon options in: daemons.conf
43 post_install_pcsc_lite() {
44 if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"; then
45 cat >> "$1/etc/daemons.conf" <<EOT
46 # PC/SC smart card daemon options.
47 PCSCD_OPTIONS=""
49 EOT
50 fi
51 }