aboutsummaryrefslogtreecommitdiffstats
path: root/community/pcsc-cyberjack/APKBUILD
blob: 7af2f2ffc6d534a86fc4d4e4262e73370a6946e2 (plain) (blame)
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
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=pcsc-cyberjack
pkgver=3.99.5_p13
_pkgver=${pkgver/_p/_SP}
_filever=${_pkgver%_SP*}final.${_pkgver#*_}
pkgrel=0
pkgdesc="PCSC driver for Reiner SCT cyberjack card reader"
url="http://www.reiner-sct.com/"
arch="all"
license="LGPL"
depends="pcsc-lite"
makedepends="autoconf automake libtool pcsc-lite-dev libusb-dev"
options="!check"
source="http://support.reiner-sct.de/downloads/LINUX/V${_pkgver}/pcsc-cyberjack_${_filever}.tar.gz"
builddir="$srcdir/"$pkgname-${_filever}

prepare() {
	cd "$builddir"
	default_prepare
	autoreconf -vif
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--disable-static \
		--mandir=/usr/share/man/man8 \
		--sysconfdir=/etc/"${pkgname}"  \
		--enable-udev \
		--with-usbdropdir=$(pkg-config libpcsclite --variable=usbdropdir)
	make
}

package() {
	cd "$builddir"
	make DESTDIR="${pkgdir}" install
}

sha512sums="74ac56a0f74a69006c87e2c22e147b65d26582d29753de03d56e4ad76413f4477a031d47f5eb074323b4ffd000b0908a1fb2b12fb7d91e9b3ee67e983e09e968  pcsc-cyberjack_3.99.5final.SP13.tar.gz"