New package: libfido2-1.3.0

This commit is contained in:
Leah Neukirchen 2020-02-14 12:58:03 +01:00 committed by Leah Neukirchen
parent 217407671c
commit 52739556cd
3 changed files with 37 additions and 0 deletions

View file

@ -3777,3 +3777,4 @@ libmpirxx.so.8 mpir-3.0.0_1
libcaribou.so.0 libcaribou-0.4.21_3 libcaribou.so.0 libcaribou-0.4.21_3
libtinyclipboard.so.1 tinyclipboard-16.01_1 libtinyclipboard.so.1 tinyclipboard-16.01_1
libcbor.so.0 libcbor-0.5.0_1 libcbor.so.0 libcbor-0.5.0_1
libfido2.so.1 libfido2-1.3.0_1

1
srcpkgs/libfido2-devel Symbolic link
View file

@ -0,0 +1 @@
libfido2

35
srcpkgs/libfido2/template Normal file
View file

@ -0,0 +1,35 @@
# Template file for 'libfido2'
pkgname=libfido2
version=1.3.0
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libcbor-devel libressl-devel eudev-libudev-devel"
short_desc="Library for FIDO 2.0, including communication with a device over USB"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause"
homepage="https://github.com/Yubico/libfido2"
distfiles="https://github.com/Yubico/libfido2/archive/${version}.tar.gz"
checksum=0b2e3671c4c5d42fd5604a08e45f89f49592b97cf66d7d3bfbc7e6a4d5a0fec7
case "$XBPS_TARGET_MACHINE" in
*-musl)
CFLAGS="-Wno-overflow" # ioctl takes int on musl
;;
esac
post_install() {
vlicense LICENSE
}
libfido2-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} libcbor-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}