diff options
Diffstat (limited to 'extra/x264/PKGBUILD')
-rw-r--r-- | extra/x264/PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/x264/PKGBUILD b/extra/x264/PKGBUILD index 90508716e..29de1fd05 100644 --- a/extra/x264/PKGBUILD +++ b/extra/x264/PKGBUILD @@ -7,7 +7,7 @@ pkgname=x264 pkgver=20110617 pkgrel=1 pkgdesc="free library for encoding H264/AVC video streams" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.videolan.org/developers/x264.html" license=('GPL') depends=('glibc') @@ -18,7 +18,9 @@ md5sums=('928717aa2f0c7ca91e589d6b60e688f1') build() { cd "$srcdir/$pkgname-snapshot-$pkgver-2245" - ./configure --enable-shared + [ "$CARCH" = "mips64el" ] && extra="--enable-pic" + + ./configure --enable-shared $extra make make DESTDIR="$pkgdir" \ |