void-packages/srcpkgs/libsrtp/template
2017-10-31 06:22:10 +01:00

32 lines
810 B
Bash

# Template build file for 'libsrtp'.
pkgname=libsrtp
version=1.6.0
revision=1
build_style=gnu-configure
make_build_target="libsrtp.a 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"
homepage="https://github.com/cisco/libsrtp"
distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
checksum=1a3e7904354d55e45b3c5c024ec0eab1b8fa76fdbf4dd2ea2625dad2b3c6edde
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
}
}