void-packages/srcpkgs/opus/template
2016-07-16 08:05:54 +02:00

28 lines
744 B
Bash

# Template file for 'opus'
pkgname=opus
version=1.1.3
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@voidlinux.eu>"
homepage="http://www.opus-codec.org/"
license="BSD"
distfiles="http://downloads.xiph.org/releases/opus/opus-${version}.tar.gz"
checksum=58b6fe802e7e30182e95d0cde890c0ace40b6f125cffc50635f0ad2eef69b633
post_install() {
vlicense COPYING
}
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
}
}