From 0e5a9430f9a3a671ed9170685d5c0d0cb0e0b043 Mon Sep 17 00:00:00 2001 From: dkwo Date: Mon, 18 Jul 2022 12:26:28 +0200 Subject: [PATCH] bearssl: run tests --- srcpkgs/bearssl/template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/srcpkgs/bearssl/template b/srcpkgs/bearssl/template index ec393735acf9..14654c9c4766 100644 --- a/srcpkgs/bearssl/template +++ b/srcpkgs/bearssl/template @@ -1,15 +1,15 @@ # Template file for 'bearssl' pkgname=bearssl version=0.6 -revision=2 +revision=3 build_style=gnu-makefile make_build_args="D=.so.${version} LD=\$(CC) LDDLL=\$(CC) LDDLLFLAGS=-shared LDDLLFLAGS+=-Wl,-soname,lib${pkgname}.so.${version%%.*}" short_desc="Implementation of the SSL/TLS protocol in C" maintainer="Leah Neukirchen " license="MIT" homepage="https://bearssl.org" -changelog="${homepage}/changelog.html" -distfiles="${homepage}/${pkgname}-${version}.tar.gz" +changelog="https://bearssl.org/changelog.html" +distfiles="https://bearssl.org/${pkgname}-${version}.tar.gz" checksum=6705bba1714961b41a728dfc5debbe348d2966c117649392f8c8139efc83ff14 CFLAGS="-fPIC" @@ -22,6 +22,13 @@ do_install() { vcopy inc usr/include vlicense LICENSE.txt LICENSE } + +do_check() { + cd "${wrksrc}/build" + ./testx509 + ./testcrypto all +} + bearssl-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}"