wok annotate pcsc-lite/receipt @ rev 20672

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 24 14:51:04 2019 +0100 (16 months ago)
parents 9e01bc6321ea
children 2e1dc40b652c
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@20672 9 WEB_SITE="https://pcsclite.apdu.fr/"
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 {
pascal@18730 43 if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"; then
pascal@18730 44 echo '# PC/SC smart card daemon options.' >> "$1/etc/daemons.conf"
pascal@18730 45 echo 'PCSCD_OPTIONS=""' >> "$1/etc/daemons.conf"
pascal@18730 46 echo '' >> "$1/etc/daemons.conf"
pankso@13657 47 fi
pankso@13657 48 }