bearssl: run tests

This commit is contained in:
dkwo 2022-07-18 12:26:28 +02:00 committed by Đoàn Trần Công Danh
parent c620f7ef0b
commit 3da67999e8

View file

@ -8,8 +8,8 @@ short_desc="Implementation of the SSL/TLS protocol in C"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT" license="MIT"
homepage="https://bearssl.org" homepage="https://bearssl.org"
changelog="${homepage}/changelog.html" changelog="https://bearssl.org/changelog.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz" distfiles="https://bearssl.org/${pkgname}-${version}.tar.gz"
checksum=6705bba1714961b41a728dfc5debbe348d2966c117649392f8c8139efc83ff14 checksum=6705bba1714961b41a728dfc5debbe348d2966c117649392f8c8139efc83ff14
CFLAGS="-fPIC" CFLAGS="-fPIC"
@ -22,6 +22,13 @@ do_install() {
vcopy inc usr/include vcopy inc usr/include
vlicense LICENSE.txt LICENSE vlicense LICENSE.txt LICENSE
} }
do_check() {
cd "${wrksrc}/build"
./testx509
./testcrypto all
}
bearssl-devel_package() { bearssl-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"