37 lines
937 B
Bash
37 lines
937 B
Bash
# Template file for 'srt'
|
|
pkgname=srt
|
|
version=1.5.4
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="
|
|
-DCMAKE_INSTALL_BINDIR=bin
|
|
-DCMAKE_INSTALL_INCLUDEDIR=include"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="openssl-devel"
|
|
short_desc="Secure, Reliable, Transport"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="MPL-2.0"
|
|
homepage="https://github.com/Haivision/srt"
|
|
changelog="https://github.com/Haivision/srt/releases"
|
|
distfiles="https://github.com/Haivision/srt/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=d0a8b600fe1b4eaaf6277530e3cfc8f15b8ce4035f16af4a5eb5d4b123640cdd
|
|
|
|
libsrt_package() {
|
|
depends="libsrt>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
srt-devel_package() {
|
|
depends="libsrt>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|