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