milis/talimatname/genel/m/mbedtls/talimat

23 lines
623 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Gömülü sistemler için şifreleme kütüphanesi (eskiden PolarSSL olarak bilinir).
# URL: https://tls.mbed.org
# Paketçi: milisarge
# Gerekler:
isim=mbedtls
surum=2.3.0
devir=1
kaynak=(https://tls.mbed.org/download/mbedtls-$surum-gpl.tgz)
derle() {
cd $isim-$surum
sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' include/mbedtls/config.h
sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h
# FS#49914 (2.3.0-2)
sed -i 's|<time.h>|"platform.h"|' include/mbedtls/ssl.h
LDFLAGS+=" -I../include " make SHARED=1 no_test
make SHARED=1 check
make DESTDIR=$PKG/usr install
}