2011-09-14 18:57:58 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
|
|
|
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
|
|
|
# Contributor: Daniel Plaza <daniel.plaza.espi@gmail.com>
|
|
|
|
|
|
|
|
pkgname=ccid
|
2012-01-06 01:12:22 +08:00
|
|
|
pkgver=1.4.5
|
|
|
|
_pkgver=1.4.4
|
2011-09-14 18:57:58 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A generic USB Chip/Smart Card Interface Devices driver"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://pcsclite.alioth.debian.org/ccid.html"
|
|
|
|
license=('LGPL' 'GPL')
|
|
|
|
depends=('pcsclite')
|
|
|
|
backup=(etc/reader.conf.d/libccidtwin)
|
|
|
|
source=("https://alioth.debian.org/frs/download.php/3579/$pkgname-$pkgver.tar.bz2")
|
|
|
|
md5sums=('79ef91103bcdd99a3b31cb5c5721a829')
|
|
|
|
|
|
|
|
build() {
|
2012-01-06 01:12:22 +08:00
|
|
|
cd $srcdir/$pkgname-$_pkgver
|
2011-09-14 18:57:58 +08:00
|
|
|
./configure \
|
|
|
|
--enable-twinserial \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2012-01-06 01:12:22 +08:00
|
|
|
cd $srcdir/$pkgname-$_pkgver
|
2011-09-14 18:57:58 +08:00
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
install -D -m644 src/92_pcscd_ccid.rules $pkgdir/lib/udev/rules.d/85-pcscd-ccid.rules
|
|
|
|
}
|