# Description: Library for encoding H264/AVC video streams
# URL: http://www.videolan.org/developers/x264.html
# Packager: pierre at nutyx dot org
# Depends on: yasm 

name=x264
version=20150908.2245
release=1

source=(http://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-${version/./-}-stable.tar.bz2)

build() {
cd x264-snapshot-${version/./-}-stable
./configure \
--prefix=/usr \
--enable-pic \
--enable-shared

make
make DESTDIR=$PKG install
}
