mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/wolfssl to 5.6.3-3
This commit is contained in:
parent
f7824b4eb1
commit
3f41e17e4f
1 changed files with 13 additions and 12 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
pkgname=wolfssl
|
||||
pkgver=5.6.3
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
pkgdesc="Lightweight, portable, C-language-based SSL/TLS library"
|
||||
arch=(x86_64)
|
||||
url="https://www.wolfssl.com/"
|
||||
|
@ -27,17 +27,18 @@ validpgpkeys=(
|
|||
|
||||
build() {
|
||||
local cmake_options=(
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DCMAKE_BUILD_TYPE=None
|
||||
-DWOLFSSL_CURVE25519=ON
|
||||
-DWOLFSSL_CURVE448=ON
|
||||
-DWOLFSSL_ED25519=ON
|
||||
-DWOLFSSL_ED448=ON
|
||||
-DWOLFSSL_SHA3=ON
|
||||
-DWOLFSSL_REPRODUCIBLE_BUILD=ON
|
||||
-DWARNING_C_FLAGS="$CFLAGS"
|
||||
-Wno-dev
|
||||
-B build
|
||||
-D CMAKE_BUILD_TYPE=None
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D WOLFSSL_CURVE25519=ON
|
||||
-D WOLFSSL_CURVE448=ON
|
||||
-D WOLFSSL_ED25519=ON
|
||||
-D WOLFSSL_ED448=ON
|
||||
-D WOLFSSL_SHA3=ON
|
||||
-D WOLFSSL_REPRODUCIBLE_BUILD=ON
|
||||
-D WOLFSSL_SNI=ON
|
||||
-D WARNING_C_FLAGS="$CFLAGS"
|
||||
-W no-dev
|
||||
-S $pkgname-$pkgver-stable
|
||||
)
|
||||
|
||||
|
@ -47,7 +48,7 @@ build() {
|
|||
|
||||
check() {
|
||||
cd build
|
||||
ctest --output-on-failure
|
||||
./wolfcrypt/test/testwolfcrypt
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
Loading…
Reference in a new issue