wok view mbedtls/receipt @ rev 21285

Add thunderbird-bin
author Richard Dunbar <mojo@slitaz.org>
date Mon Apr 15 00:22:23 2019 -0400 (2019-04-15)
parents
children 3e9a9990c985
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mbedtls"
4 VERSION="2.6.0"
5 CATEGORY="security"
6 SHORT_DESC="Portable cryptographic and SSL/TLS library (ex polarssl)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://tls.mbed.org/"
11 TARBALL="$PACKAGE-$VERSION-gpl.tgz"
12 WGET_URL="https://tls.mbed.org/download/$TARBALL"
14 compile_rules() {
15 sed \
16 -e 's|//\(#define MBEDTLS_THREADING_C\)|\1|' \
17 -e 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' \
18 -i include/mbedtls/config.h
19 sed -i 's|<time.h>|"platform.h"|' include/mbedtls/ssl.h
21 LDFLAGS="$LDFLAGS -I../include " \
22 make SHARED=1 no_test &&
23 make DESTDIR=$install/usr install
24 }
26 genpkg_rules() {
27 mkdir -p $fs/usr/lib/
28 cp -a $install/usr/bin/ $fs/usr/
29 cp -a $install/usr/lib/*.so* $fs/usr/lib/
30 }