void-packages/srcpkgs/ortp/template

25 lines
763 B
Bash

# Template file for 'ortp'
pkgname=ortp
version=5.2.111
revision=1
build_style=cmake
configure_args="-DENABLE_STATIC=OFF -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=61c96d341b01cd0d79ac1248c23a65403f8b26664f0b7b1389f2456e097a89ff
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"
}
}