2009-12-30 01:19:03 +01:00
|
|
|
# Template file for 'liba52'
|
|
|
|
pkgname=liba52
|
|
|
|
version=0.7.4
|
2013-11-16 08:54:44 +01:00
|
|
|
revision=5
|
2009-12-30 01:19:03 +01:00
|
|
|
wrksrc="a52dec-${version}"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-12-30 01:19:03 +01:00
|
|
|
configure_args="--enable-shared"
|
2013-11-16 08:54:44 +01:00
|
|
|
hostmakedepends="automake libtool"
|
2009-12-30 01:19:03 +01:00
|
|
|
short_desc="Free ATSC A/52 stream decoder"
|
2013-03-31 09:51:16 +02:00
|
|
|
homepage="http://liba52.sourceforge.net/"
|
|
|
|
license="GPL-2"
|
2009-12-30 01:19:03 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-10 23:46:48 +02:00
|
|
|
distfiles="http://liba52.sourceforge.net/files/a52dec-$version.tar.gz"
|
2009-12-30 01:19:03 +01:00
|
|
|
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."
|
|
|
|
|
2013-04-10 23:46:48 +02:00
|
|
|
pre_configure() {
|
|
|
|
./bootstrap
|
|
|
|
}
|
|
|
|
|
|
|
|
a52dec_package() {
|
|
|
|
short_desc="ATSC A/52 stream decoder tools"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
liba52-devel_package() {
|
2013-11-16 08:54:44 +01:00
|
|
|
depends="liba52>=${version}_${revision}"
|
2013-04-10 23:46:48 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-11-16 08:54:44 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-10 23:46:48 +02:00
|
|
|
}
|
|
|
|
}
|