summaryrefslogtreecommitdiff
path: root/user/pcsc-tools/APKBUILD
blob: fe617b27a9339663c4937b40de2f3a9efd167c65 (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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=pcsc-tools
pkgver=1.5.3
pkgrel=0
pkgdesc="Tools for scanning for and interacting with PC/SC devices"
url="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
arch="all"
license="GPL-2.0+"
depends="perl"
makedepends="pcsc-lite-dev"
subpackages="$pkgname-doc"
source="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/pcsc-tools-$pkgver.tar.bz2"
sha512sums="da5b362b7a3a6d47dd309ff217e6dd8af29298501db5e898ecd68762020ce62fc982132205f9bbee159a7d7eac549fdb8f25395416bb52bc0d0c888a5b0fa1a0  pcsc-tools-1.5.3.tar.bz2"
builddir="$srcdir/pcsc-tools-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

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