void-packages/srcpkgs/bzrtp/template
Jürgen Buchmüller 75998f65c9
bzrtp: fix build w/ gcc-8.2.0
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-09-07 11:18:29 +02:00

26 lines
793 B
Bash

# Template file for 'bzrtp'
pkgname=bzrtp
version=1.0.6
revision=1
build_style=cmake
configure_args="-DENABLE_TESTS=0"
makedepends="mbedtls-devel libxml2-devel bctoolbox-devel sqlite-devel"
short_desc="Opensource implementation of ZRTP keys exchange protocol"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later"
homepage="https://www.linphone.org"
distfiles="https://www.linphone.org/releases/sources/bzrtp/bzrtp-${version}.tar.gz"
checksum=bf48b0298d614a04b7b9d76b770ab7c6c3bc84624674efba523d5e90e09cc08b
CFLAGS="-Wno-cast-function-type"
bzrtp-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/share/bzrtp/cmake
}
}