void-packages/srcpkgs/liba52/template

47 lines
1.1 KiB
Text
Raw Normal View History

# Template file for 'liba52'
pkgname=liba52
version=0.7.4
2013-03-31 07:51:16 +00:00
revision=4
wrksrc="a52dec-${version}"
build_style=gnu-configure
configure_args="--enable-shared"
hostmakedepends="automake"
short_desc="Free ATSC A/52 stream decoder"
2013-03-31 07:51:16 +00:00
homepage="http://liba52.sourceforge.net/"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://liba52.sourceforge.net/files/a52dec-$version.tar.gz"
checksum=a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33
long_desc="
liba52 is a free library for decoding ATSC A/52 streams. It is released
under the terms of the GPL license. The A/52 standard is used in a variety
of applications, including digital television and DVD. It is also known
as AC-3."
pre_configure() {
./bootstrap
}
a52dec_package() {
short_desc="ATSC A/52 stream decoder tools"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}
liba52-devel_package() {
depends="liba52>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}
liba52_package() {
pkg_install() {
vmove usr
}
}