void-packages/srcpkgs/libsrtp/template

33 lines
804 B
Bash

# Template build file for 'libsrtp'.
pkgname=libsrtp
version=2.1.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"
homepage="https://github.com/cisco/libsrtp"
distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
checksum=0302442ed97d34a77abf84617b657e77674bdd8e789d649f1cac0c5f0d0cf5ee
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
}
}