New package: mbedtls2-2.28.8
2.28 LTS branch for packages that don't support mbedtls 3 yet
This commit is contained in:
parent
b44c9916f2
commit
0c8fe3741c
|
@ -2297,6 +2297,9 @@ libmpv.so.2 mpv-0.35.0_1
|
|||
libmbedtls.so.21 mbedtls-3.6.0_1
|
||||
libmbedcrypto.so.16 mbedtls-3.6.0_1
|
||||
libmbedx509.so.7 mbedtls-3.6.0_1
|
||||
libmbedtls.so.14 mbedtls2-2.28.8_1
|
||||
libmbedcrypto.so.7 mbedtls2-2.28.8_1
|
||||
libmbedx509.so.1 mbedtls2-2.28.8_1
|
||||
libdmtx.so.0 libdmtx-0.7.4_1
|
||||
libdbus-c++-1.so.0 libdbus-c++-0.9.0_1
|
||||
libdbus-c++-glib-1.so.0 libdbus-c++-0.9.0_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
mbedtls2
|
|
@ -0,0 +1,36 @@
|
|||
# Template file for 'mbedtls2'
|
||||
pkgname=mbedtls2
|
||||
version=2.28.8
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DENABLE_TESTING=1 -DUSE_SHARED_MBEDTLS_LIBRARY=1"
|
||||
hostmakedepends="python3 perl"
|
||||
short_desc="Portable cryptographic TLS library (version 2)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://tls.mbed.org/"
|
||||
changelog="https://raw.githubusercontent.com/ARMmbed/mbedtls/mbedtls-${version%.*}/ChangeLog"
|
||||
distfiles="https://github.com/ARMmbed/mbedtls/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum="4fef7de0d8d542510d726d643350acb3cdb9dc76ad45611b59c9aa08372b4213"
|
||||
|
||||
pre_configure() {
|
||||
./scripts/config.pl set MBEDTLS_THREADING_C
|
||||
./scripts/config.pl set MBEDTLS_THREADING_PTHREAD
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -r "$DESTDIR"/usr/bin
|
||||
}
|
||||
|
||||
mbedtls2-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
conflicts="mbedtls-devel>=0"
|
||||
replaces="mbedtls-devel>=0"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue