void-packages/srcpkgs/ortp/template
2020-05-27 21:16:46 +02:00

30 lines
847 B
Bash

# Template file for 'ortp'
pkgname=ortp
version=1.0.2
revision=4
build_style=cmake
configure_args="-DENABLE_STATIC=OFF"
makedepends="bctoolbox-devel"
short_desc="Real-Time Transport Protocol (RFC 3550) library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.linphone.org/technical-corner/ortp"
distfiles="https://github.com/BelledonneCommunications/ortp/archive/${version}.tar.gz"
checksum=f8069cbb0c9679545e52d4080e07b4c2bea049f2571100332c90539490240d76
CFLAGS="-Wno-stringop-truncation"
pre_configure() {
vsed -i CMakeLists.txt -e "s;BcToolbox;bctoolbox;g"
}
ortp-devel_package() {
depends="bctoolbox-devel ortp-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/oRTP/cmake
vmove "usr/lib/*.so"
}
}