# Template file for 'celt051'
pkgname=celt051
version=0.5.1.3
revision=5
wrksrc=celt-${version}
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libogg-devel"
short_desc="An audio codec for use in low-delay speech and audio communication"
homepage="http://www.celt-codec.org/"
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://downloads.us.xiph.org/releases/celt/celt-${version}.tar.gz"
checksum=fc2e5b68382eb436a38c3104684a6c494df9bde133c139fbba3ddb5d7eaa6a2e

celt051-devel_package() {
	depends="libogg-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
