void-packages/srcpkgs/ortp/template
2019-03-20 11:19:43 -03:00

26 lines
760 B
Bash

# Template file for 'ortp'
pkgname=ortp
version=1.0.2
revision=3
build_style=cmake
configure_args="-DENABLE_STATIC=OFF"
makedepends="bctoolbox-devel"
short_desc="Real-Time Transport Protocol (RFC 3550) library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
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"
ortp-devel_package() {
depends="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"
}
}