2013-01-04 23:20:23 +01:00
|
|
|
# Template file for 'opusfile'
|
|
|
|
pkgname=opusfile
|
|
|
|
version=0.2
|
2013-03-21 20:14:09 +01:00
|
|
|
revision=2
|
2013-01-04 23:20:23 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
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"
|
|
|
|
checksum=b4a678b3b6c4adfb6aff1f67ef658becfe146ea7c7ff228e99543762171557f9
|
|
|
|
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libogg-devel opus-devel openssl-devel"
|
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() {
|
|
|
|
depends="libogg-devel openssl-devel opus-devel ${sourcepkg}>=${version}"
|
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"
|
|
|
|
}
|
|
|
|
}
|