# Description: The VP8 Codec SDK
# URL: http://webm.googlecode.com/files/libvpx-v1.1.0.tar.bz2
# Packager: pierre at nutyx dot org
# Depends on: yasm 

name=libvpx
version=1.5.0
release=1

source=(http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-$version.tar.bz2)
build() {
cd $name-$version
sed   -e 's/cp -p/cp/'       \
      -i build/make/Makefile 
chmod -v 644 vpx/*.h 
mkdir ../libvpx-build
cd ../libvpx-build
../libvpx-$version/configure --prefix=/usr \
--enable-shared --disable-static
make

make DESTDIR=$PKG install
}
