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

24 lines
737 B
Bash

# Template file for 'ortp'
pkgname=ortp
version=4.4.0
revision=1
build_style=cmake
configure_args="-DENABLE_STATIC=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=684c6b5cfb7770b9764dbb360d355f15e583bf4e064e237095c7dbc29d4e49ee
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"
}
}