28 lines
743 B
Plaintext
28 lines
743 B
Plaintext
# Description: MPEG-4 audio codecs.
|
|
# URL: http://www.audiocoding.com/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
|
# Depends on: libmp4v2
|
|
|
|
name=faac
|
|
version=1.28
|
|
release=4
|
|
source=(http://download.sourceforge.net/$name/$name-$version.tar.bz2
|
|
faac-1.28-external-libmp4v2.patch
|
|
faac-1.28-libmp4v2_r479_compat.patch
|
|
faac-1.28-inttypes.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/faac-1.28-external-libmp4v2.patch
|
|
patch -p0 -i $SRC/faac-1.28-libmp4v2_r479_compat.patch
|
|
patch -p0 -i $SRC/faac-1.28-inttypes.patch
|
|
sed -i -e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
|
|
|
|
./bootstrap
|
|
./configure --prefix=/usr --mandir=/usr/man
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|