void-packages/srcpkgs/librist/template

35 lines
819 B
Bash

# Template file for 'librist'
pkgname=librist
version=0.2.7
revision=1
wrksrc="librist-v${version}"
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=7e2507fdef7b57c87b461d0f2515771b70699a02c8675b51785a73400b3c53a1
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"
}
}