void-packages/srcpkgs/belle-sip/template

27 lines
879 B
Bash

# Template file for 'belle-sip'
pkgname=belle-sip
version=5.2.6
revision=1
build_style=cmake
configure_args="-DENABLE_STRICT=OFF -DENABLE_TESTS=NO -DCMAKE_SKIP_INSTALL_RPATH=ON
-DCMAKE_MODULE_PATH=/usr/lib/cmake"
makedepends="mbedtls-devel libantlr3c bctoolbox-devel zlib-devel belr-devel"
short_desc="SIP (RFC3261) implementation written in C"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://www.linphone.org"
distfiles="https://gitlab.linphone.org/BC/public/belle-sip/-/archive/${version}/belle-sip-${version}.tar.gz"
checksum=e567a4823df0a782a5b9af61dcab6ca78f3bbb3f72c6a4b2a2e791e29e573826
belle-sip-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
}