void-packages/srcpkgs/libdca/template

30 lines
781 B
Text
Raw Normal View History

# Template file for 'libdca'
pkgname=libdca
version=0.0.5
2014-02-20 16:10:44 +00:00
revision=8
build_style=gnu-configure
short_desc="DTS Coherent Acoustics decoder"
2013-03-31 07:51:17 +00:00
homepage="http://www.videolan.org/developers/libdca.html"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://download.videolan.org/pub/videolan/$pkgname/$version/$pkgname-$version.tar.bz2"
checksum=dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642
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
}
libdca-devel_package() {
2013-11-16 07:57:40 +00:00
depends="libdca>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2013-11-16 07:57:40 +00:00
vmove "usr/lib/*.so"
}
}