wok annotate pcsc-lite/receipt @ rev 17233

Add python-passlib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 17 10:13:13 2014 +0200 (2014-10-17)
parents a4016f7bd89c
children 9e01bc6321ea
rev   line source
pascal@13312 1 # SliTaz package receipt.
pascal@13312 2
pascal@13312 3 PACKAGE="pcsc-lite"
pankso@13657 4 VERSION="1.8.6"
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@13312 9 WEB_SITE="http://pcsclite.alioth.debian.org/"
pascal@13312 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13312 11 WGET_URL="https://alioth.debian.org/frs/download.php/3741/$TARBALL"
pascal@13312 12
pascal@13669 13 SUGGESTED="ccid"
pascal@13669 14 DEPENDS="udev"
pascal@13312 15 BUILD_DEPENDS="wget udev-dev perl libtool"
pascal@13312 16
pascal@13312 17 # Rules to configure and make the package.
pascal@13312 18 compile_rules()
pascal@13312 19 {
pascal@13312 20 cd $src
pankso@13657 21 ./configure \
pankso@13657 22 --prefix=/usr \
pankso@13657 23 --enable-libudev \
pankso@13657 24 --enable-ipcdir=/run/pcscd \
pankso@13657 25 --enable-usbdropdir=/usr/lib/pcsc/drivers \
pascal@13312 26 $CONFIGURE_ARGS &&
pascal@13312 27 make && make DESTDIR=$DESTDIR install
pascal@13312 28 }
pascal@13312 29
pascal@13312 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13312 31 genpkg_rules()
pascal@13312 32 {
pankso@13657 33 mkdir -p $fs/usr/lib/pcsc/drivers $fs/etc
pascal@13312 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13312 35 cp -a $install/usr/sbin $fs/usr
pascal@13312 36 cp -a $install/usr/bin $fs/usr
pankso@13657 37 cp -a $stuff/init.d $fs/etc
pascal@13312 38 }
pankso@13657 39
pankso@13657 40 # Daemon options in: daemons.conf
pankso@13657 41 post_install()
pankso@13657 42 {
pankso@13657 43 local root
pankso@13657 44 root=$1
pankso@13657 45 if ! grep -q 'PCSCD_OPTIONS' $root/etc/daemons.conf; then
pankso@13657 46 echo '# PC/SC smart card daemon options.' >> $root/etc/daemons.conf
pankso@13657 47 echo 'PCSCD_OPTIONS=""' >> $root/etc/daemons.conf
pankso@13657 48 echo '' >> $root/etc/daemons.conf
pankso@13657 49 fi
pankso@13657 50 }