33 lines
887 B
Bash
33 lines
887 B
Bash
# Template file for 'libsrtp'
|
|
pkgname=libsrtp
|
|
version=2.3.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
make_build_target="all shared_library"
|
|
hostmakedepends="automake pkg-config"
|
|
short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
|
|
maintainer="Orphaned <orphan@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=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libsrtp-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|