1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-26 20:27:07 +00:00
termux-packages/packages/gnupg/scdaemon.subpackage.sh
Henrik Grimler 3619926bc1 gnupg: mv scdaemon to subpackage and add dependency on libusb
And fix so that configure script can find libusb headers. This makes
it possible to access smartcards with gpg/scdaemon when running as
root. It is not without flaws though, the gpg-agent daemon has to be
manually stopped sometimes to make the card appear. Also seems quite
hard to get some things to work when running gpg-agent and scdaemon as
root: I haven't been able to do remote forwarding or sig git commits.
2021-12-28 00:23:25 +01:00

6 lines
315 B
Bash

TERMUX_SUBPKG_INCLUDE="libexec/scdaemon share/man/man1/scdaemon.1.gz"
TERMUX_SUBPKG_DESCRIPTION="Daemon invoked by gpg to manage smartcards"
TERMUX_SUBPKG_DEPENDS="libgcrypt, libksba, libgpg-error, libassuan, libnpth, libusb"
TERMUX_SUBPKG_CONFLICTS="gnupg (<< 2.3.3-2)"
TERMUX_SUBPKG_REPLACES="gnupg (<< 2.3.3-2)"