void-packages/srcpkgs/ortp/template

25 lines
767 B
Bash

# Template file for 'ortp'
pkgname=ortp
version=5.3.74
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=TRUE -DENABLE_UNIT_TESTS=OFF"
makedepends="bctoolbox-devel"
short_desc="Real-Time Transport Protocol (RFC 3550) library"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://www.linphone.org/technical-corner/ortp"
distfiles="https://gitlab.linphone.org/BC/public/ortp/-/archive/${version}/ortp-${version}.tar.gz"
checksum=33b6b5274479d52e93c7d8ae5122cb9e9f69a44b6f383177df01bca7b2e25a69
ortp-devel_package() {
depends="bctoolbox-devel ortp-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}