# Template file for 'libdca'
pkgname=libdca
version=0.0.5
revision=2
distfiles="http://download.videolan.org/pub/videolan/$pkgname/$version/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="DTS Coherent Acoustics decoder"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642
long_desc="
 libdca is a free library for decoding DTS Coherent Acoustics streams.
 The DTS Coherent Acoustics standard is used in a variety of applications,
 including DVD, DTS audio CD and radio broadcasting."

subpackages="$pkgname-devel"
Add_dependency run glibc

post_install()
{
	# Fix manpage links.
	cd ${DESTDIR}/usr/share/man/man1
	ln -sf dcadec.1 dtsdec.1
	ln -sf extract_dca.1 extract_dts.1
}