Commit 55052c8c authored by Natanael Copa's avatar Natanael Copa

main/faac: build fix for automake-1.13

parent 3f044c2f
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=faac
pkgver=1.28
pkgrel=7
pkgrel=8
pkgdesc="FAAC is an AAC audio encoder."
url="http://www.audiocoding.com/"
arch="all"
......@@ -10,10 +10,16 @@ subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="autoconf automake libtool"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
automake.patch
"
prepare() {
cd "$srcdir/$pkgname-$pkgver"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
#taken from http://bugs.sourcemage.org/show_bug.cgi?id=15263
if [ "$ALPINE_LIBC" = "eglibc" ]; then
sed -i \
......@@ -24,7 +30,7 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
./bootstrap
./bootstrap || return 1
./configure --prefix=/usr
make || return 1
}
......@@ -36,4 +42,5 @@ package() {
install -D -m644 "$srcdir"/$pkgname-$pkgver/libfaac/kiss_fft/COPYING \
"$pkgdir"/usr/share/licenses/faac/COPYING.kiss_fft
}
md5sums="80763728d392c7d789cde25614c878f6 faac-1.28.tar.gz"
md5sums="80763728d392c7d789cde25614c878f6 faac-1.28.tar.gz
5a52db11e04cce0a7a32bc8565a7aa60 automake.patch"
--- ./configure.in.orig 2012-12-31 11:43:05.395168229 +0000
+++ ./configure.in 2012-12-31 11:43:20.171958905 +0000
@@ -3,7 +3,7 @@
AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADER(config.h)
AC_ARG_WITH( mp4v2, [ --with-mp4v2 compile libmp4v2],WITHMP4V2=$withval, WITHMP4V2=yes)
AC_ARG_ENABLE( drm, [ --enable-drm Digital Radio Mondiale support], enable_drm=$enableval, enable_drm=no)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment