void-packages/srcpkgs/liblc3/template

31 lines
768 B
Bash

# Template file for 'liblc3'
pkgname=liblc3
version=1.0.4
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"
distfiles="https://github.com/google/liblc3/archive/refs/tags/v${version}.tar.gz"
checksum=9cf7177b864cac7612f27c0737440b1b7b53d88687778405060de29dfd6e0aaa
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
}
}