wok diff mbedtls/receipt @ rev 22042
gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 22 12:55:54 2019 +0300 (2019-10-22) |
parents | |
children | 3e9a9990c985 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mbedtls/receipt Tue Oct 22 12:55:54 2019 +0300 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 +}