summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-05 14:54:04 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-05 14:54:04 -0500
commit1cefa18e2388f7309333271686677af4c64838c2 (patch)
tree5d55a36fee75fcf73885e0b5c0bffcd3b9e4a717 /user
parent2b323f1e49adaae1062afd7944caf31dadf3ed7e (diff)
downloadpackages-1cefa18e2388f7309333271686677af4c64838c2.tar.gz
packages-1cefa18e2388f7309333271686677af4c64838c2.tar.bz2
packages-1cefa18e2388f7309333271686677af4c64838c2.tar.xz
packages-1cefa18e2388f7309333271686677af4c64838c2.zip
user/ccid: new package
Diffstat (limited to 'user')
-rw-r--r--user/ccid/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/ccid/APKBUILD b/user/ccid/APKBUILD
new file mode 100644
index 000000000..d40e83954
--- /dev/null
+++ b/user/ccid/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=ccid
+pkgver=1.4.29
+pkgrel=0
+pkgdesc="Open-source driver for Chip/SmartCard Interface Devices (CCID)"
+url="https://ccid.apdu.fr/"
+arch="all"
+options="!check" # no tests
+license="LGPL-2.1+ AND GPL-2.0+ AND ISC"
+makedepends="pcsc-lite-dev libusb-dev"
+source="https://ccid.apdu.fr/files/ccid-$pkgver.tar.bz2"
+sha512sums="9ff37acad086e959f660069b245fe06ecada140623025a19dfbff55edec71e1e72bce09ac4fc506ad985dd0831dafc6b12f5a5b109b38bf9ba7583856eb19418 ccid-1.4.29.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+