diff options
-rw-r--r-- | user/ccid/APKBUILD | 31 |
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 +} + |