void-packages/srcpkgs/opus/template

29 lines
737 B
Bash

# Template file for 'opus'
pkgname=opus
version=1.2.1
revision=1
build_style=gnu-configure
configure_args="--enable-float-approx"
short_desc="Totally open, royalty-free, highly versatile audio codec"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://www.opus-codec.org/"
license="3-clause-BSD"
distfiles="https://archive.mozilla.org/pub/opus/opus-${version}.tar.gz"
checksum=cfafd339ccd9c5ef8d6ab15d7e1a412c054bf4cb4ecbbbcc78c12ef2def70732
post_install() {
vlicense COPYING
}
opus-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/aclocal
}
}