2006-12-20 18:30:56 +11:00
|
|
|
# Description: Library for decoding ATSC A/52 streams.
|
|
|
|
# URL: http://liba52.sourceforge.net/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2006-12-20 18:30:56 +11:00
|
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
|
|
|
|
|
|
|
name=liba52
|
|
|
|
version=0.7.4
|
2011-10-06 01:40:49 +11:00
|
|
|
release=3
|
|
|
|
source=(http://liba52.sourceforge.net/files/a52dec-$version.tar.gz
|
|
|
|
a52dec-0.7.4-host.patch)
|
2006-12-20 18:30:56 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd a52dec-$version
|
|
|
|
|
2011-10-06 01:40:49 +11:00
|
|
|
patch -p 1 -i $SRC/a52dec-0.7.4-host.patch
|
|
|
|
./bootstrap
|
|
|
|
|
2006-12-20 18:30:56 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2011-10-06 01:40:49 +11:00
|
|
|
--mandir=$PKG//usr/man \
|
2006-12-20 18:30:56 +11:00
|
|
|
--disable-solaris-audio \
|
|
|
|
--disable-win \
|
2007-04-11 03:21:08 +10:00
|
|
|
--disable-static \
|
2006-12-20 18:30:56 +11:00
|
|
|
--enable-shared \
|
2007-04-11 03:21:08 +10:00
|
|
|
--enable-double
|
2006-12-20 18:30:56 +11:00
|
|
|
|
2007-04-01 17:01:57 +10:00
|
|
|
make
|
|
|
|
make install prefix=$PKG/usr
|
2007-04-11 03:21:08 +10:00
|
|
|
|
|
|
|
# required for xine-lib
|
|
|
|
install -m644 liba52/a52_internal.h $PKG/usr/include/a52dec/
|
2006-12-20 18:30:56 +11:00
|
|
|
}
|