void-packages/srcpkgs/librist/template

36 lines
829 B
Bash

# Template file for 'librist'
pkgname=librist
version=0.2.10
revision=1
build_style=meson
makedepends="mbedtls-devel"
short_desc="Reliable Internet Stream Transport (RIST)"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://code.videolan.org/rist/librist"
distfiles="https://code.videolan.org/rist/librist/-/archive/v${version}/librist-v${version}.tar.gz"
checksum=797e486961cd09bc220c5f6561ca5a08e7747b313ec84029704d39cbd73c598c
make_check=ci-skip # tests are flaky
post_install() {
vlicense COPYING
}
rist-utils_package() {
short_desc+=" - utils"
pkg_install() {
vmove usr/bin
}
}
librist-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}