2 # Copyright (C) 2020 Linos Giannopoulos
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://codeload.github.com
/Yubico
/libfido2
/tar.gz
/$(PKG_VERSION
)?
16 PKG_HASH
:=3601792e320032d428002c4cce8499a4c7b803319051a25a0c9f1f138ffee45a
18 PKG_MAINTAINER
:=Linos Giannopoulos
<linosgian00
+openwrt@gmail.com
>
19 PKG_LICENSE
:=GPL-3.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/cmake.mk
28 define Package
/libfido2
32 URL
:=https
://github.com
/Yubico
/libfido2
34 DEPENDS
+= +libcbor
+libopenssl
+libudev
+zlib
37 define Package
/libfido2
/description
38 libfido2 provides library functionality and command-line tools to communicate with a FIDO device over USB
, and to verify attestation and assertion signatures.
40 libfido2 supports the FIDO U2F
(CTAP
1) and FIDO
2.0 (CTAP
2) protocols.
44 -DBUILD_EXAMPLES
=OFF \
45 -DBUILD_MANPAGES
=OFF \
46 -DBUILD_STATIC_LIBS
=OFF \
49 define Package
/libfido2
/install
50 $(INSTALL_DIR
) $(1)/usr
/lib
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libfido2.so.
* $(1)/usr
/lib
/
54 $(eval
$(call BuildPackage
,libfido2
))