From 22661e1faab2a5edbe5792430dbce0f447db16d7 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Tue, 7 Aug 2018 00:09:16 -0500 Subject: user/pcsc-tools: new package --- user/pcsc-tools/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 user/pcsc-tools/APKBUILD diff --git a/user/pcsc-tools/APKBUILD b/user/pcsc-tools/APKBUILD new file mode 100644 index 000000000..fe617b27a --- /dev/null +++ b/user/pcsc-tools/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Kiyoshi Aman +# Maintainer: Kiyoshi Aman +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 +} + -- cgit v1.2.3-70-g09d2