# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {mps @Schamschula} openmaintainer
description An open source, portable, easy to use, readable and flexible SSL \
long_description ${description}
homepage https://tls.mbed.org
master_sites https://github.com/ARMmbed/mbedtls/archive:mbedtls \
https://github.com/ARMmbed/mbed-crypto/archive:mbedcrypto
distfiles ${name}-${version}${extract.suffix}:mbedtls \
mbedcrypto-${mbedcrypto_version}${extract.suffix}:mbedcrypto
checksums ${name}-${version}${extract.suffix} \
rmd160 07e6ad8a818ac4874de6dff04faf4bb69c50cc7b \
sha256 adc9055a494533df3a5b4e26b3c2868fc506f1d5c4f70f377f6ee3967d4ad624 \
mbedcrypto-${mbedcrypto_version}${extract.suffix} \
rmd160 4336698465756f0818f188b19118e5689fb892da \
sha256 7fa2c87f7a72f402ae33a20583b9e29d1707b1ed73ef7620eeac75644e151486 \
move ${workpath}/${name}-${name}-${version} ${workpath}/${name}-${version}
delete ${workpath}/${name}-${version}/crypto
move ${workpath}/mbed-crypto-mbedcrypto-${mbedcrypto_version} ${workpath}/${name}-${version}/crypto
-DPERL_EXECUTABLE=${prefix}/bin/perl
livecheck.url https://github.com/ARMmbed/mbedtls/releases
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)