contrib/liba52/Pkgfile

33 lines
736 B
Plaintext
Raw Normal View History

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
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
patch -p 1 -i $SRC/a52dec-0.7.4-host.patch
./bootstrap
2006-12-20 18:30:56 +11:00
./configure \
--prefix=/usr \
--mandir=$PKG//usr/man \
2006-12-20 18:30:56 +11:00
--disable-solaris-audio \
--disable-win \
--disable-static \
2006-12-20 18:30:56 +11:00
--enable-shared \
--enable-double
2006-12-20 18:30:56 +11:00
2007-04-01 17:01:57 +10:00
make
make install prefix=$PKG/usr
# required for xine-lib
install -m644 liba52/a52_internal.h $PKG/usr/include/a52dec/
2006-12-20 18:30:56 +11:00
}