wok-current annotate ccid/receipt @ rev 13660

Add ccid
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 21 21:44:02 2012 +0100 (2012-11-21)
parents
children 844aa2812cd6
rev   line source
pascal@13660 1 # SliTaz package receipt.
pascal@13660 2
pascal@13660 3 PACKAGE="ccid"
pascal@13660 4 VERSION="1.4.8"
pascal@13660 5 CATEGORY="base-system"
pascal@13660 6 SHORT_DESC="Chip/Smart Card Interface Devices driver."
pascal@13660 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@13660 8 WEB_SITE="http://pcsclite.alioth.debian.org/"
pascal@13660 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13660 10 WGET_URL="https://alioth.debian.org/frs/download.php/3768/$TARBALL"
pascal@13660 11 #https://alioth.debian.org/frs/download.php/3768/ccid-1.4.8.tar.bz2
pascal@13660 12
pascal@13660 13 DEPENDS="libusb pcsc-lite"
pascal@13660 14 BUILD_DEPENDS="wget pcsc-lite-dev libusb-dev"
pascal@13660 15
pascal@13660 16 # Rules to configure and make the package.
pascal@13660 17 compile_rules()
pascal@13660 18 {
pascal@13660 19 cd $src
pascal@13660 20 ./configure --prefix=/usr \
pascal@13660 21 --enable-usbdropdir=/usr/lib/pscs/drivers \
pascal@13660 22 $CONFIGURE_ARGS &&
pascal@13660 23 make && make DESTDIR=$DESTDIR install
pascal@13660 24 }
pascal@13660 25
pascal@13660 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13660 27 genpkg_rules()
pascal@13660 28 {
pascal@13660 29 mkdir $fs/etc/udev/rules.d/
pascal@13660 30 cp -a $install/* $fs/
pascal@13660 31 cp $src/src/92_pcscd_ccid.rules $fs/etc/udev/rules.d/
pascal@13660 32 }