blob: 561560f31de5ea8f14a294ddd7a018ebe7c4b39a (
plain)
1 # Description: AAC audio decoding library.
2 # URL: http://www.audiocoding.com/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Matt Housh, jaeger at morpheus dot net
5
6 name=faad2
7 version=2.7
8 release=2
9 source=(http://downloads.sourceforge.net/project/faac/faad2-src/$name-$version/$name-$version.tar.bz2
10 faad2-2.7-libmp4ff-shared-lib.patch
11 faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch
12 faad2-2.7-man1_MANS.patch)
13
14 build() {
15 cd $name-$version
16
17 patch -p1 -i $SRC/faad2-2.7-libmp4ff-shared-lib.patch
18 patch -p0 -i $SRC/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch
19 patch -p1 -i $SRC/faad2-2.7-man1_MANS.patch
20 sed -i -e 's|iquote |I|' libfaad/Makefile.am
21 sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.in
22 autoreconf -fi
23
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/man \
27 --disable-dependency-tracking
28
29 make
30 make DESTDIR=$PKG install
31 }
|