wok-current annotate pcsc-lite/receipt @ rev 24032

modified get-teamviewer to be able to fetch versions < 13
author Hans-G?nter Theisgen
date Tue Apr 06 14:38:05 2021 +0100 (2021-04-06)
parents 2e1dc40b652c
children 5d79829fa876
rev   line source
pascal@13312 1 # SliTaz package receipt.
pascal@13312 2
pascal@13312 3 PACKAGE="pcsc-lite"
Hans-G?nter@23283 4 VERSION="1.8.26"
pascal@13312 5 CATEGORY="base-system"
pascal@13312 6 SHORT_DESC="SCard interface for communicating to smart cards and readers."
pascal@13312 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15375 8 LICENSE="BSD"
pascal@20672 9 WEB_SITE="https://pcsclite.apdu.fr/"
Hans-G?nter@21669 10
pascal@13312 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21669 12 WGET_URL="${WEB_SITE}files/$TARBALL"
pascal@13312 13
pascal@13669 14 SUGGESTED="ccid"
pascal@13669 15 DEPENDS="udev"
Hans-G?nter@23283 16 BUILD_DEPENDS="libtool perl udev-dev"
pascal@13312 17
pascal@13312 18 # Rules to configure and make the package.
pascal@13312 19 compile_rules()
pascal@13312 20 {
Hans-G?nter@21669 21 ./configure \
Hans-G?nter@21669 22 --prefix=/usr \
Hans-G?nter@21669 23 --disable-libsystemd \
Hans-G?nter@21669 24 --enable-libudev \
Hans-G?nter@21669 25 --enable-ipcdir=/run/pcscd \
Hans-G?nter@21669 26 --enable-usbdropdir=/usr/lib/pcsc/drivers \
pascal@13312 27 $CONFIGURE_ARGS &&
Hans-G?nter@21669 28 make &&
Hans-G?nter@21669 29 make DESTDIR=$DESTDIR install
pascal@13312 30 }
pascal@13312 31
pascal@13312 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13312 33 genpkg_rules()
pascal@13312 34 {
Hans-G?nter@21669 35 mkdir -p $fs/usr/lib/pcsc/drivers
Hans-G?nter@21669 36 mkdir -p $fs/etc
Hans-G?nter@21669 37
Hans-G?nter@21669 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21669 39 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@21669 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21669 41 cp -a $stuff/init.d $fs/etc
pascal@13312 42 }
pankso@13657 43
pankso@13657 44 # Daemon options in: daemons.conf
pankso@13657 45 post_install()
pankso@13657 46 {
Hans-G?nter@23283 47 if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"
Hans-G?nter@23283 48 then
pascal@18730 49 echo '# PC/SC smart card daemon options.' >> "$1/etc/daemons.conf"
pascal@18730 50 echo 'PCSCD_OPTIONS=""' >> "$1/etc/daemons.conf"
pascal@18730 51 echo '' >> "$1/etc/daemons.conf"
pankso@13657 52 fi
pankso@13657 53 }