mbedtls: update to 2.1.0.

This commit is contained in:
Juan RP 2015-09-05 08:52:52 +02:00
parent 4accd4c2fc
commit d875eac693
1 changed files with 5 additions and 8 deletions

View File

@ -1,23 +1,20 @@
# Template file for 'mbedtls'
pkgname=mbedtls
version=2.0.0
version=2.1.0
revision=1
replaces="polarssl>=0 libpolarssl>=0"
hostmakedepends="perl cmake"
build_style=cmake
configure_args="-DENABLE_TESTING=0 -DUSE_SHARED_MBEDTLS_LIBRARY=1 -DLINK_WITH_PTHREAD=1"
short_desc="Portable cryptographic TLS library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
hostmakedepends="perl cmake"
license="GPL-2"
homepage="https://tls.mbed.org/"
distfiles="https://tls.mbed.org/download/mbedtls-${version}-gpl.tgz"
checksum=149a06621368540b7e1cef1b203c268439c2edbf29e2e9471d8021125df34952
build_style=cmake
configure_args=' -DENABLE_TESTING=Off -DUSE_SHARED_MBEDTLS_LIBRARY=On
-DLINK_WITH_PTHREAD=On'
checksum=b61b5fe6aa33ed365289478ac48f1496b97eef0fb813295e534e0c2bd435dcfc
mbedtls-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
replaces="polarssl-devel>=0"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"