31 lines
880 B
Bash
31 lines
880 B
Bash
# Template file for 'libsrtp'
|
|
pkgname=libsrtp
|
|
version=2.6.0
|
|
revision=1
|
|
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=bf641aa654861be10570bfc137d1441283822418e9757dc71ebb69a6cf84ea6b
|
|
|
|
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"
|
|
}
|
|
}
|