void-packages/srcpkgs/bzrtp/template

24 lines
800 B
Bash

# Template file for 'bzrtp'
pkgname=bzrtp
version=5.2.111
revision=1
build_style=cmake
configure_args="-DENABLE_TESTS=FALSE -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=026f1ccfbeec50fb2df7d081f5d770c9721caee48dfe8d2d4879f91532b8dee6
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
}
}