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>"
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}"