# Description: VP8 Codec SDK'sı
# URL: http://webm.googlecode.com/files/libvpx-v1.1.0.tar.bz2
# Packager: milisarge
# 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 \
--disable-install-docs \
--disable-install-srcs
make

make DESTDIR=$PKG install
}
