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

# source: post BLFS 7.8 updated 6-12-2018
TARBALL=libvpx-$PKGVER.tar.gz
MD5SUM=193346f9aec0726145e51db732417cd2
SRC_URL=https://github.com/webmproject/libvpx/archive/v$PKGVER/$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
}



