wok view ccid/receipt @ rev 13661

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