void-packages/srcpkgs/belle-sip/template
2022-04-15 15:23:39 +02:00

27 lines
954 B
Bash

# Template file for 'belle-sip'
pkgname=belle-sip
version=5.1.12
revision=1
build_style=cmake
configure_args="-DANTLR3_JAR_PATH=/usr/share/java/antlr3.jar -DENABLE_STRICT=OFF
-DENABLE_TESTS=NO -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_MODULE_PATH=/usr/lib/cmake"
hostmakedepends="antlr3-bin"
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=1a827db2d42eadd6825dc12f8c413ca3cf925e8084e5821d94f66d49b5c6f2db
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
}
}