### this file is sourced not run
PKGVER=1.5.0
PKGBUILD=1
PKGARCH=x86_64

# source: post BLFS 7.8 2016-01-06
TARBALL=libvpx-$PKGVER.tar.bz2
MD5SUM=49e59dd184caa255886683facea56fca
#MD5SUM=f95a176768a0e1bb4fe42742e27a41af # 1.6.0
SRC_URL=http://storage.googleapis.com/downloads.webmproject.org/releases/webm/$TARBALL
BUNDLE=

SLACKREQ=''
SLACKDESC="libvpx: libvpx $PKGVER (Webm codec)  
libvpx:  
libvpx: This package, from the WebM project, provides the reference 
libvpx: implementations of the VP8 Codec, used in most current html5 video, 
libvpx: and of the next-generation VP9 Codec.  
libvpx: 
libvpx: 
libvpx: 
libvpx: 
libvpx: 
libvpx:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/libvpx*		
	sed -i 's/cp -p/cp/' build/make/Makefile
	mkdir ../build &&
	cd ../build &&
	../libvpx*/configure --prefix=/usr \
		--libdir=/usr/$LIBDIR \
		--enable-shared \
		--disable-static \
		--disable-examples &&
	make $MAKEFLAGS &&
	make install &&

	pkg_build_slackdesc
}



