wok-current annotate mbedtls/receipt @ rev 21056
updated iperf (2.0.9 -> 2.0.13)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 13 14:59:39 2019 +0100 (2019-03-13) |
parents | |
children | 3e9a9990c985 |
rev | line source |
---|---|
al@20516 | 1 # SliTaz package receipt v2. |
al@20516 | 2 |
al@20516 | 3 PACKAGE="mbedtls" |
al@20516 | 4 VERSION="2.6.0" |
al@20516 | 5 CATEGORY="security" |
al@20516 | 6 SHORT_DESC="Portable cryptographic and SSL/TLS library (ex polarssl)" |
al@20516 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20516 | 8 LICENSE="Apache" |
al@20516 | 9 WEB_SITE="https://tls.mbed.org/" |
al@20516 | 10 |
al@20516 | 11 TARBALL="$PACKAGE-$VERSION-gpl.tgz" |
al@20516 | 12 WGET_URL="https://tls.mbed.org/download/$TARBALL" |
al@20516 | 13 |
al@20516 | 14 compile_rules() { |
al@20516 | 15 sed \ |
al@20516 | 16 -e 's|//\(#define MBEDTLS_THREADING_C\)|\1|' \ |
al@20516 | 17 -e 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' \ |
al@20516 | 18 -i include/mbedtls/config.h |
al@20516 | 19 sed -i 's|<time.h>|"platform.h"|' include/mbedtls/ssl.h |
al@20516 | 20 |
al@20516 | 21 LDFLAGS="$LDFLAGS -I../include " \ |
al@20516 | 22 make SHARED=1 no_test && |
al@20516 | 23 make DESTDIR=$install/usr install |
al@20516 | 24 } |
al@20516 | 25 |
al@20516 | 26 genpkg_rules() { |
al@20516 | 27 mkdir -p $fs/usr/lib/ |
al@20516 | 28 cp -a $install/usr/bin/ $fs/usr/ |
al@20516 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
al@20516 | 30 } |