From 5066b1161100cbde4942b21d52d60284d560c380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 27 Sep 2013 19:14:37 +0000 Subject: main/x264: fix makedepends, and configure (not autotools) --- main/x264/APKBUILD | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'main/x264/APKBUILD') diff --git a/main/x264/APKBUILD b/main/x264/APKBUILD index 663404e560..c24cb67ff8 100644 --- a/main/x264/APKBUILD +++ b/main/x264/APKBUILD @@ -7,18 +7,17 @@ url="http://www.videolan.org/developers/x264.html" arch="all" license="GPL" depends= -makedepends="libx11-dev bash yasm" +makedepends="libx11-dev bash yasm coreutils" subpackages="$pkgname-dev" source="ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2" + _builddir="$srcdir/$pkgname-snapshot-$pkgver-2245-stable" build() { cd "$_builddir" local _asmopts= - if [ "$CARCH" = "x86" ]; then - _asmopts="--disable-asm" - fi + [ "$CARCH" = "x86" ] && _asmopts="--disable-asm" + # note: not autotools ./configure \ - --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-visualize \ -- cgit v1.2.3