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

# source: BLFS 11.3
TARBALL=libvpx-$PKGVER.tar.gz
MD5SUM=d5fd45a806a65a57d6635f9e7a98a1b2
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: https://github.com/webmproject/libvpx
libvpx: 
libvpx: 
libvpx: 
libvpx:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/libvpx*
	
	# BLFS 11.3 correct ownership of installed files
	sed -i 's/cp -p/cp/' build/make/Makefile

	mkdir ../libvpx-build &&
	cd ../libvpx-build &&
	../libvpx*/configure --prefix=/usr \
		--libdir=/usr/$LIBDIR \
		--enable-shared \
		--disable-static \
		--disable-examples &&
	make $MAKEFLAGS &&
	make install &&

	pkg_build_slackdesc
}



