void-packages/srcpkgs/libsrtp/template

29 lines
772 B
Bash

# Template build file for 'libsrtp'.
pkgname=libsrtp
version=1.5.4
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=56a7b521c25134f48faff26b0b1e3d4378a14986a2d3d7bc6fefb48987304ff0
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
}
}