void-packages/srcpkgs/liblc3/template

32 lines
822 B
Bash

# Template file for 'liblc3'
pkgname=liblc3
version=1.1.1
revision=1
build_style=meson
configure_args="-Dtools=true"
short_desc="Low complexity communication codec"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="Apache-2.0"
homepage="https://github.com/google/liblc3"
changelog="https://github.com/google/liblc3/releases"
distfiles="https://github.com/google/liblc3/archive/refs/tags/v${version}.tar.gz"
checksum=b65e38943708529efd04a87dd1a9f16a9856ed6199d082b18e7d42fb5c59486e
liblc3-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
lc3-tools_package() {
short_desc+=" - tools"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}