void-packages/srcpkgs/belle-sip/template

26 lines
877 B
Bash

# Template file for 'belle-sip'
pkgname=belle-sip
version=5.3.79
revision=2
build_style=cmake
configure_args="-DENABLE_STRICT=OFF -DENABLE_UNIT_TESTS=NO -DCMAKE_SKIP_INSTALL_RPATH=ON
-DCMAKE_MODULE_PATH=/usr/lib/cmake -DBUILD_SHARED_LIBS=TRUE"
makedepends="mbedtls-devel 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=df4a9ee5bb725cafc3fe286548e9475d4b22cdc3aafe0953bc60b45dd002ae61
belle-sip-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
}