aboutsummaryrefslogtreecommitdiffstats
path: root/main/faac/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-12-31 11:46:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-31 16:02:15 +0000
commit55052c8cf676da8e68d11f0d8a82a5adcc2ddd4d (patch)
treea4d1e957fefe1d04550a396a318706225bfc577e /main/faac/APKBUILD
parent3f044c2fce409f125cb7cdb65eb883c06e1ee48f (diff)
downloadaports-55052c8cf676da8e68d11f0d8a82a5adcc2ddd4d.tar.bz2
aports-55052c8cf676da8e68d11f0d8a82a5adcc2ddd4d.tar.xz
main/faac: build fix for automake-1.13
Diffstat (limited to 'main/faac/APKBUILD')
-rw-r--r--main/faac/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD
index 11dc6ab21e..d33097469e 100644
--- a/main/faac/APKBUILD
+++ b/main/faac/APKBUILD
@@ -1,7 +1,7 @@
# 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"