1 # Maintainer: David Runge <dvzrv@archlinux.org>
6 pkgdesc="Lightweight, portable, C-language-based SSL/TLS library"
8 url="https://www.wolfssl.com/"
12 provides=(libwolfssl.so)
15 $pkgname-$pkgver-stable.tar.gz::https://github.com/$pkgname/$pkgname/archive/refs/tags/v$pkgver-stable.tar.gz
16 https://github.com/$pkgname/$pkgname/releases/download/v$pkgver-stable/$pkgname-$pkgver-stable.tar.gz.asc
18 sha512sums=('e43560f83f6c62d78b10c4df7db21f02386f22b893688b98d2f3432e3b3946a4e80960c7402404a8c0486c87b1dde5b7a3827f9d4d3be13f87f370dfc1179c78'
20 b2sums=('957ea8233e942c247f06c81a6f95a13320f2cbba8379a95c9568b69f39fcd9ce43f597559df938589f9c91473c54b1df112fd7458eb74fe81932b78ade37624e'
23 A2A48E7BCB96C5BECB987314EBC80E415CA29677 # wolfSSL <secure@wolfssl.com>
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DCMAKE_BUILD_TYPE=None \
30 -DWOLFSSL_CURVE25519=ON \
31 -DWOLFSSL_CURVE448=ON \
32 -DWOLFSSL_ED25519=ON \
34 -DWOLFSSL_REPRODUCIBLE_BUILD=ON \
37 -S $pkgname-$pkgver-stable
38 cmake --build build --verbose
43 ctest --output-on-failure
47 DESTDIR="$pkgdir" cmake --install build
48 install -vDm 644 $pkgname-$pkgver-stable/{README,ChangeLog}.md -t "$pkgdir/usr/share/doc/$pkgname/"