wok-current diff mbedtls/receipt @ rev 20777

updated cdrtools (3.00 -> 3.02a09)
author Hans-G?nter Theisgen
date Thu Feb 14 13:10:09 2019 +0100 (2019-02-14)
parents
children 3e9a9990c985
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mbedtls/receipt	Thu Feb 14 13:10:09 2019 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="mbedtls"
     1.7 +VERSION="2.6.0"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="Portable cryptographic and SSL/TLS library (ex polarssl)"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="Apache"
    1.12 +WEB_SITE="https://tls.mbed.org/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION-gpl.tgz"
    1.15 +WGET_URL="https://tls.mbed.org/download/$TARBALL"
    1.16 +
    1.17 +compile_rules() {
    1.18 +	sed \
    1.19 +		-e 's|//\(#define MBEDTLS_THREADING_C\)|\1|' \
    1.20 +		-e 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' \
    1.21 +		-i include/mbedtls/config.h
    1.22 +	sed -i 's|<time.h>|"platform.h"|' include/mbedtls/ssl.h
    1.23 +
    1.24 +	LDFLAGS="$LDFLAGS -I../include " \
    1.25 +	make SHARED=1 no_test &&
    1.26 +	make DESTDIR=$install/usr install
    1.27 +}
    1.28 +
    1.29 +genpkg_rules() {
    1.30 +	mkdir -p $fs/usr/lib/
    1.31 +	cp -a $install/usr/bin/      $fs/usr/
    1.32 +	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    1.33 +}