summaryrefslogblamecommitdiff
path: root/user/pcsc-tools/APKBUILD
blob: 07fd60e3270327e993827d046ef51870e9d99ff6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                           
            








                                                                                        






















                                         
                                                                                                                                                                       
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=pcsc-tools
pkgver=1.5.4
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"

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="c64b9445dcdf72a7e5627380894c1f627ebcb343a497524ee185b64110c2c2b8b6138cae5610439991ab9756fd89ea5de0e054e68698b220d11606b38f7a90c6  pcsc-tools-1.5.4.tar.bz2"