wok-next diff mbedtls/receipt @ rev 20523
libnsgif: add missing stuff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 15:16:45 2018 +0200 (2018-03-23) |
parents | |
children | d5aab818505e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mbedtls/receipt Fri Mar 23 15:16:45 2018 +0200 1.3 @@ -0,0 +1,32 @@ 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 +SPLIT="mbedtls-dev" 1.18 + 1.19 +compile_rules() { 1.20 + sed -i -e 's|//\(#define MBEDTLS_THREADING_C\)|\1|' \ 1.21 + -e 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' \ 1.22 + include/mbedtls/config.h 1.23 + sed -i 's|<time.h>|"platform.h"|' include/mbedtls/ssl.h 1.24 + 1.25 + LDFLAGS="$LDFLAGS -I../include " \ 1.26 + make SHARED=1 no_test && 1.27 + make DESTDIR=$install/usr install 1.28 +} 1.29 + 1.30 +genpkg_rules() { 1.31 + case $PACKAGE in 1.32 + mbedtls) copy @std;; 1.33 + *-dev) copy @dev;; 1.34 + esac 1.35 +}