2006-12-20 18:30:56 +11:00
|
|
|
# Description: Library for decoding ATSC A/52 streams.
|
|
|
|
# URL: http://liba52.sourceforge.net/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2006-12-20 18:30:56 +11:00
|
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
|
|
|
|
|
|
|
name=liba52
|
|
|
|
version=0.7.4
|
2013-01-06 20:18:45 +11:00
|
|
|
release=6
|
2011-10-06 01:40:49 +11:00
|
|
|
source=(http://liba52.sourceforge.net/files/a52dec-$version.tar.gz
|
2011-10-06 02:33:53 +11:00
|
|
|
a52dec-0.7.4-build.patch)
|
2006-12-20 18:30:56 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd a52dec-$version
|
|
|
|
|
2013-01-06 20:18:45 +11:00
|
|
|
# fix for automake 1.13.x
|
|
|
|
install -d m4
|
|
|
|
sed -i -e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
|
|
|
|
|
2011-10-06 02:33:53 +11:00
|
|
|
patch -p 1 -i $SRC/a52dec-0.7.4-build.patch
|
2011-10-06 01:40:49 +11:00
|
|
|
./bootstrap
|
|
|
|
|
2006-12-20 18:30:56 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2013-01-06 20:18:45 +11:00
|
|
|
--mandir=/usr/man \
|
2006-12-20 18:30:56 +11:00
|
|
|
--disable-solaris-audio \
|
|
|
|
--disable-win \
|
|
|
|
--enable-shared \
|
2011-10-06 02:33:53 +11:00
|
|
|
--with-pic
|
2006-12-20 18:30:56 +11:00
|
|
|
|
2007-04-01 17:01:57 +10:00
|
|
|
make
|
2013-01-06 20:18:45 +11:00
|
|
|
make DESTDIR=$PKG install
|
2006-12-20 18:30:56 +11:00
|
|
|
}
|