31 lines
880 B
Bash
31 lines
880 B
Bash
# Template file for 'libsrtp'
|
|
pkgname=libsrtp
|
|
version=2.5.0
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-Dcrypto-library=openssl"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="openssl-devel"
|
|
checkdepends="procps-ng libpcap-devel"
|
|
short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/cisco/libsrtp"
|
|
changelog="https://raw.githubusercontent.com/cisco/libsrtp/master/CHANGES"
|
|
distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
|
|
checksum=8a43ef8e9ae2b665292591af62aa1a4ae41e468b6d98d8258f91478735da4e09
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libsrtp-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|