blob: c62402c2e519e2cbecd9ebfc70ac0a4a78626be2 (
plain)
1 # Description: Library for decoding ATSC A/52 streams.
2 # URL: http://liba52.sourceforge.net/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4
5 name=liba52
6 version=0.7.4
7 release=7
8 source=(http://liba52.sourceforge.net/files/a52dec-$version.tar.gz
9 a52dec-0.7.4-build.patch)
10
11 build() {
12 cd a52dec-$version
13
14 # fix for automake 1.13.x
15 install -d m4
16 sed -i -e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
17
18 patch -p 1 -i $SRC/a52dec-0.7.4-build.patch
19 ./bootstrap
20
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --disable-solaris-audio \
25 --disable-win \
26 --enable-shared \
27 --with-pic
28
29 make
30 make DESTDIR=$PKG install
31 }
|