From 98019094b593c8032ecf6acd45148a713fb5b589 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 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/srcpkgs/bearssl/template b/srcpkgs/bearssl/template index ec393735acf9..043d0d9cc54d 100644 --- a/srcpkgs/bearssl/template +++ b/srcpkgs/bearssl/template @@ -8,8 +8,8 @@ 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}"