2013-01-04 23:20:23 +01:00
|
|
|
# Template file for 'opusfile'
|
|
|
|
pkgname=opusfile
|
2014-02-01 11:45:36 +01:00
|
|
|
version=0.5
|
|
|
|
revision=1
|
2013-01-04 23:20:23 +01:00
|
|
|
build_style=gnu-configure
|
2014-02-01 11:45:36 +01:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libogg-devel opus-devel openssl-devel"
|
2013-01-04 23:20:23 +01:00
|
|
|
short_desc="Library for opening, seeking, and decoding .opus files"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.opus-codec.org/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="http://downloads.xiph.org/releases/opus/${pkgname}-${version}.tar.gz"
|
2014-02-01 11:45:36 +01:00
|
|
|
checksum=2ce52d006aeeec9f10260dbe3073c4636954a1ab19c82b8baafefe0180aa4a39
|
2013-01-04 23:20:23 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/share
|
|
|
|
vinstall COPYING 644 usr/share/licenses/opus
|
|
|
|
}
|
2013-04-14 05:01:48 +02:00
|
|
|
|
|
|
|
opusfile-devel_package() {
|
2014-02-01 11:45:36 +01:00
|
|
|
depends="libogg-devel openssl-devel opus-devel ${sourcepkg}>=${version}_${revision}"
|
2014-01-01 16:10:11 +01: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"
|
2014-02-01 11:45:36 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 05:01:48 +02:00
|
|
|
}
|
|
|
|
}
|