summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-07 00:09:16 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-07 00:09:45 -0500
commit22661e1faab2a5edbe5792430dbce0f447db16d7 (patch)
treef149b748e091a58b255e18991ad24245afe0d594
parent8fc9597ffde1c3f2b290bc0910710e6a7d8643e0 (diff)
downloadpackages-22661e1faab2a5edbe5792430dbce0f447db16d7.tar.gz
packages-22661e1faab2a5edbe5792430dbce0f447db16d7.tar.bz2
packages-22661e1faab2a5edbe5792430dbce0f447db16d7.tar.xz
packages-22661e1faab2a5edbe5792430dbce0f447db16d7.zip
user/pcsc-tools: new package
-rw-r--r--user/pcsc-tools/APKBUILD38
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
+}
+