diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-10-17 19:37:02 +0200 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-10-19 05:03:14 +0000 |
commit | cf39c245136940b29a2ee8e31484918d89c14f66 (patch) | |
tree | 9de23e6f374fc61814724112d0e041125ebff9cf /community/acsccid | |
parent | ef4ee071e62cdc64d89503d4c958606ea5feb7eb (diff) | |
download | aports-cf39c245136940b29a2ee8e31484918d89c14f66.tar.bz2 aports-cf39c245136940b29a2ee8e31484918d89c14f66.tar.xz |
community/acsccid: move from testing
Diffstat (limited to 'community/acsccid')
-rw-r--r-- | community/acsccid/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/acsccid/APKBUILD b/community/acsccid/APKBUILD new file mode 100644 index 0000000000..cbd4eef451 --- /dev/null +++ b/community/acsccid/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: André Klitzing <aklitzing@gmail.com> +pkgname=acsccid +pkgver=1.1.4 +pkgrel=0 +pkgdesc="PCSC driver for ACS CCID smart card reader" +url="https://github.com/acshk/acsccid" +arch="all" +license="LGPL" +depends="pcsc-lite" +makedepends="pcsc-lite-dev libusb-dev perl flex" +options="!check" # upstream does not provide tests +subpackages="$pkgname-udev::noarch" +source="https://downloads.sourceforge.net/acsccid/acsccid-${pkgver}.tar.bz2" +builddir="$srcdir/"${pkgname}-${pkgver} + +build() { + cd "$builddir" + ./configure --prefix=/usr + make +} + +package() { + cd "$builddir" + make DESTDIR="${pkgdir}" install +} + +udev() { + pkgdesc="$pkgdesc (udev rules)" + install_if="$pkgname=$pkgver-r$pkgrel udev" + + cd "$builddir" + install -Dm644 src/92_pcscd_acsccid.rules "$subpkgdir/etc/udev/rules.d/92_pcscd_acsccid.rules" +} + +sha512sums="8c8d3e6cd33caabd0829c45446544a976f8cd263dbf97284437ff0918ab69ccb1a735644a77c4cd05307b0db6067c76bd471e5e7b29c919a8c60dd229e326e62 acsccid-1.1.4.tar.bz2" |