Update dependencies and switch to new download format
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: libfido2
|
name: libfido2
|
||||||
description: Library functionality and command-line tools to communicate with a FIDO device over USB or NFC
|
description: Library functionality and command-line tools to communicate with a FIDO device over USB or NFC
|
||||||
version: 1.17.0
|
version: 1.17.0
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://developers.yubico.com/libfido2/
|
url: https://developers.yubico.com/libfido2/
|
||||||
license: BSD-2-Clause
|
license: BSD-2-Clause
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -12,7 +12,14 @@ depends:
|
|||||||
- glibc
|
- glibc
|
||||||
- hidapi
|
- hidapi
|
||||||
- libcbor
|
- libcbor
|
||||||
- udev
|
- libudev
|
||||||
- openssl
|
- openssl
|
||||||
|
- zlib
|
||||||
make_depends:
|
make_depends:
|
||||||
- cmake
|
- cmake
|
||||||
|
- udev
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/Yubico/libfido2/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: ace062d14a482ff9325410ff63d06c8b5fe87e79ebc18dda07add2bc0188c77f
|
||||||
|
|||||||
@@ -2,16 +2,6 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://github.com/Yubico/libfido2/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
Reference in New Issue
Block a user