void-packages/srcpkgs/bzrtp/template
2020-07-10 14:21:49 +02:00

23 lines
794 B
Bash

# Template file for 'bzrtp'
pkgname=bzrtp
version=4.4.0
revision=1
build_style=cmake
configure_args="-DENABLE_TESTS=0 -DENABLE_STATIC=FALSE"
makedepends="bctoolbox-devel mbedtls-devel libxml2-devel bctoolbox-devel sqlite-devel"
short_desc="Opensource implementation of ZRTP keys exchange protocol"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://www.linphone.org"
distfiles="https://gitlab.linphone.org/BC/public/bzrtp/-/archive/${version}/bzrtp-${version}.tar.gz"
checksum=5fc501c742f38661b5ac8904e6a66f530b07be93d7493663daab33f3d4ffdb6c
bzrtp-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/share/bzrtp/cmake
}
}