vp-build/srcpkgs/libsrtp/template

34 lines
892 B
Bash

# Template build file for 'libsrtp'
pkgname=libsrtp
version=2.2.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="Juan RP <xtraeme@voidlinux.eu>"
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=44fd7497bce78767e96b54a11bca520adb2ad32effd515f04bce602b60a1a50b
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"
}
}