summaryrefslogtreecommitdiff
path: root/community/toolame/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/toolame/PKGBUILD')
-rw-r--r--community/toolame/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/community/toolame/PKGBUILD b/community/toolame/PKGBUILD
index 48e2f25fc..01c9c6e9b 100644
--- a/community/toolame/PKGBUILD
+++ b/community/toolame/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=toolame
pkgver=02l
-pkgrel=9
+pkgrel=9.1
pkgdesc="An optimized mpeg 1/2 layer 2 audio encoder"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/toolame"
license=('LGPL')
depends=('glibc')
@@ -20,6 +20,7 @@ build() {
cd $srcdir/$pkgname-$pkgver
patch -p0 < ../toolame-02l.patch
[ "$CARCH" = "x86_64" ] && sed -i "s|-march=i686|-march=x86-64|g" Makefile
+ [ "$CARCH" = "mips64el" ] && sed -i "s|-march=i686|-march=mips3 -mtune=loongson2f|g" Makefile
make
install -D -m755 toolame $pkgdir/usr/bin/toolame
}