void-packages/srcpkgs/belle-sip/template
2020-07-10 14:21:48 +02:00

27 lines
942 B
Bash

# Template file for 'belle-sip'
pkgname=belle-sip
version=4.4.0
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"
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=4f9218b0bbf55c2f68d70a0e83779e591ef9fe97f1caf7550768ea192ee34cee
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
}
}