32 lines
882 B
Plaintext
32 lines
882 B
Plaintext
# Description: AAC audio decoding library.
|
|
# URL: http://www.audiocoding.com/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
|
|
|
name=faad2
|
|
version=2.7
|
|
release=2
|
|
source=(http://downloads.sourceforge.net/project/faac/faad2-src/$name-$version/$name-$version.tar.bz2
|
|
faad2-2.7-libmp4ff-shared-lib.patch
|
|
faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch
|
|
faad2-2.7-man1_MANS.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/faad2-2.7-libmp4ff-shared-lib.patch
|
|
patch -p0 -i $SRC/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch
|
|
patch -p1 -i $SRC/faad2-2.7-man1_MANS.patch
|
|
sed -i -e 's|iquote |I|' libfaad/Makefile.am
|
|
sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.in
|
|
autoreconf -fi
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-dependency-tracking
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|