void-packages/srcpkgs/opus/template

35 lines
819 B
Plaintext

# Template file for 'opus'
pkgname=opus
version=1.1
revision=1
build_style=gnu-configure
configure_args="--enable-float-approx"
short_desc="Codec designed for interactive speech and audio transmission over the Internet"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.opus-codec.org/"
license="BSD"
distfiles="http://downloads.xiph.org/releases/opus/opus-${version}.tar.gz"
checksum=b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95
post_install() {
vinstall COPYING 644 usr/share/licenses/opus
}
opus-devel_package() {
depends="opus>=${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
}
}
opus_package() {
pkg_install() {
vmove all
}
}