40 lines
959 B
Bash
40 lines
959 B
Bash
# Template file for 'srt'
|
|
pkgname=srt
|
|
version=1.4.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"
|
|
distfiles="https://github.com/Haivision/srt/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=93f5f3715bd5bd522b8d65fc0d086ef2ad49db6a41ad2d7b35df2e8bd7094114
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|