void-packages/srcpkgs/belle-sip/template

27 lines
883 B
Bash

# Template file for 'belle-sip'
pkgname=belle-sip
version=1.6.3
revision=2
wrksrc="${pkgname}-${version}-0"
build_style=cmake
configure_args="-DANTLR3_JAR_PATH=/usr/share/java/antlr3.jar -DENABLE_STRICT=OFF"
hostmakedepends="antlr3-bin"
makedepends="mbedtls-devel libantlr3c bctoolbox-devel zlib-devel"
short_desc="SIP (RFC3261) implementation written in C"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later"
homepage="https://www.linphone.org"
distfiles="https://www.linphone.org/releases/sources/belle-sip/belle-sip-${version}.tar.gz"
checksum=3f3807078b177e50a5ed97aaf8d7f6e77532df3205153e1b2957f557df9ba568
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/share/BelleSIP/cmake
}
}