2013-01-04 06:45:09 +00:00
|
|
|
# Template file for 'opus'
|
|
|
|
pkgname=opus
|
2013-07-13 04:54:47 +00:00
|
|
|
version=1.0.3
|
|
|
|
revision=1
|
2013-01-04 06:45:09 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-21 19:12:23 +00:00
|
|
|
configure_args="--enable-float-approx"
|
2013-01-04 06:45:09 +00:00
|
|
|
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"
|
2013-07-13 04:54:47 +00:00
|
|
|
checksum=191a089c92dbc403de6980463dd3604b65beb12d283c607e246c8076363cb49c
|
2013-01-04 06:45:09 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/opus
|
|
|
|
}
|
2013-04-14 03:01:48 +00:00
|
|
|
|
|
|
|
opus-devel_package() {
|
|
|
|
depends="opus-${version}_${revision}"
|
2013-07-13 04:54:47 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 03:01:48 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-13 04:54:47 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 03:01:48 +00:00
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
opus_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|