aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/pcsc-cyberjack/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/pcsc-cyberjack/APKBUILD b/community/pcsc-cyberjack/APKBUILD
new file mode 100644
index 0000000000..a3bac78880
--- /dev/null
+++ b/community/pcsc-cyberjack/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: André Klitzing <aklitzing@gmail.com>
+pkgname=pcsc-cyberjack
+pkgver=3.99.5_p11
+_pkgver=${pkgver/_p/_SP}
+_filever=${_pkgver%_SP*}final.${_pkgver#*_}
+pkgrel=0
+pkgdesc="PCSC driver for Reiner SCT cyberjack card reader"
+url="http://www.reiner-sct.com/"
+arch="all"
+license="LGPL"
+depends="pcsc-lite"
+makedepends="pcsc-lite-dev libusb-dev"
+subpackages="$pkgname-doc"
+options="!check"
+source="http://support.reiner-sct.de/downloads/LINUX/V${_pkgver}/pcsc-cyberjack-${_filever}.tar.bz2"
+builddir="$srcdir/"$pkgname-${_filever}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --mandir=/usr/share/man/man8 \
+ --sysconfdir=/etc/"${pkgname}" \
+ --enable-udev \
+ --with-usbdropdir=$(pkg-config libpcsclite --variable=usbdropdir)
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="${pkgdir}" install
+}
+
+sha512sums="4d63ef0442c7e919456e8b6ab1d571ab621eb45fc34fc9b61a7a024f1ae2115f7474b4aa538ee7fb8bf4ce016067c876d9970b52e6b4e8b531e2d736677ab794 pcsc-cyberjack-3.99.5final.SP11.tar.bz2"