blob: ac74f81e55ebabc20e675a3ec112328f68ec3b74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=ccid
pkgver=1.4.26
pkgrel=0
pkgdesc="USB CCID/ICCD SmartCard reader driver"
url="https://pcsclite.alioth.debian.org/ccid.html"
arch="all"
license="LGPL2.1+"
depends="pcsc-lite"
makedepends="perl libusb-dev pcsc-lite-dev"
install=""
subpackages=""
source="https://alioth.debian.org/frs/download.php/file/4205/ccid-1.4.26.tar.bz2"
builddir="$srcdir"/ccid-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir"/etc/udev/rules.d/ || return 1
cp src/92_pcscd_ccid.rules "$pkgdir"/etc/udev/rules.d/ || return 1
}
sha512sums="4a2e5e9412f2aa4870e14114e54da96fd8b3418ea6d3a236b83e19d6349adb20a94ef7f48628c108f8459f008c10b0606bbf4d797ae4be9183e1acde032c618c ccid-1.4.26.tar.bz2"
|