# Template file for 'libvpx'
pkgname=libvpx
version=1.1.0
wrksrc="libvpx-v${version}"
distfiles="http://webm.googlecode.com/files/${pkgname}-v${version}.tar.bz2"
subpackages="$pkgname-devel"
build_style=configure
configure_args="--enable-vp8 --enable-runtime-cpu-detect --enable-shared
--enable-postproc --enable-pic --disable-install-docs --disable-install-srcs"
make_install_target="DIST_DIR=${XBPS_DESTDIR}/${pkgname}-${version}/usr install"
makedepends="which perl>=0 yasm"
revision=1
short_desc="The VP8 Codec SDK"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.webmproject.org"
license="BSD"
checksum=9ce074cf4b3bcd9a49ff93e05485b71c273bfc3685a305e55a0e7fa51beb72c5
long_desc="
 WebM is an open, royalty-free, media file format designed for the web.

 WebM defines the file container structure, video and audio formats. WebM
 files consist of video streams compressed with the VP8 video codec and audio
 streams compressed with the Vorbis audio codec. The WebM file structure is
 based on the Matroska container."

post_install() {
	vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
