void-packages/srcpkgs/opus/template
Jürgen Buchmüller b4b14b0f2e opus: fix distfile
2017-06-17 17:36:03 +02:00

28 lines
727 B
Bash

# Template file for 'opus'
pkgname=opus
version=1.1.5
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="https://archive.mozilla.org/pub/opus/opus-${version}.tar.gz"
checksum=eb84981ca0f40a3e5d5e58d2e8582cb2fee05a022825a6dfe14d14b04eb563e4
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
}
}