# Maintainer: Natanael Copa pkgname=x264 pkgver=20100207 pkgrel=0 pkgdesc="free library for encoding H264/AVC video streams" url="http://www.videolan.org/developers/x264.html" license="GPL" depends= makedepends="libx11-dev bash" subpackages="$pkgname-dev" source="http://ftp.videolan.org/pub/videolan/$pkgname/snapshots/$pkgname-snapshot-$pkgver-2245.tar.bz2" _builddir="$srcdir/$pkgname-snapshot-$pkgver-2245" build() { cd "$_builddir" ./configure --prefix=/usr \ --enable-pthread \ --enable-visualize \ --enable-shared \ --disable-asm \ --enable-pic || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install || return 1 } md5sums="cbbbb0b5b42c727b5ae515232f6d0c72 x264-snapshot-20100207-2245.tar.bz2"