void-packages/srcpkgs/opus/template
2017-01-23 13:13:18 +01:00

28 lines
730 B
Bash

# Template file for 'opus'
pkgname=opus
version=1.1.4
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="http://www.opus-codec.org/"
license="BSD"
distfiles="http://downloads.xiph.org/releases/opus/opus-${version}.tar.gz"
checksum=9122b6b380081dd2665189f97bfd777f04f92dc3ab6698eea1dbb27ad59d8692
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
}
}