aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pcsc-tools/APKBUILD
blob: 2a926aad036b608197ae07cc626a3e26cfe459f0 (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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer:
pkgname=pcsc-tools
pkgver=1.5.2
pkgrel=0
pkgdesc="tools to test a PC/SC driver, card or reader or send commands"
url="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
arch="all"
license="GPL-2.0"
depends="pcsc-perl"
makedepends="pcsc-lite-dev"
install=""
subpackages="$pkgname-doc"
source="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/pcsc-tools-$pkgver.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
}

sha512sums="e4b17ace30d3751af80151d282f3b4e17780169e00f44685f02ffe9aaf575d0a27ec9f78c1daee3b71a55ca6b77755da4f610a4d1fbca7af14f8babd9704dca0  pcsc-tools-1.5.2.tar.bz2"