diff options
Diffstat (limited to 'user/pcsc-tools')
-rw-r--r-- | user/pcsc-tools/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
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 <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 +} + |