void-packages/srcpkgs/mbedtls/template
2015-09-21 09:12:25 +02:00

23 lines
688 B
Bash

# Template file for 'mbedtls'
pkgname=mbedtls
version=2.1.1
revision=1
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>"
license="GPL-2"
homepage="https://tls.mbed.org/"
distfiles="https://tls.mbed.org/download/mbedtls-${version}-gpl.tgz"
checksum=22c76e9d8036a76e01906423b3e8a02ab0ef84027f791bd719fff8edee9c61a9
mbedtls-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}