void-packages/srcpkgs/opus/template
2013-07-13 06:54:47 +02:00

34 lines
820 B
Text

# Template file for 'opus'
pkgname=opus
version=1.0.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@gmail.com>"
homepage="http://www.opus-codec.org/"
license="BSD"
distfiles="http://downloads.xiph.org/releases/opus/opus-${version}.tar.gz"
checksum=191a089c92dbc403de6980463dd3604b65beb12d283c607e246c8076363cb49c
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 usr
}
}