void-packages/srcpkgs/ortp/template

25 lines
767 B
Bash

# Template file for 'ortp'
pkgname=ortp
version=5.3.79
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=0444cd7a9e2d77e6fa3c0421b607e6afd73e37122f674e945de039b1637d06a8
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"
}
}