void-packages/srcpkgs/ortp/template

25 lines
738 B
Bash

# Template file for 'ortp'
pkgname=ortp
version=4.4.17
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=4368be03f7f1ec6a29ada80c1a962a4793964e1c58f4d9b9117e68332a401c93
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"
}
}