# Template file for 'libvpx' pkgname=libvpx version=0.9.7 wrksrc="libvpx-v${version}" distfiles="http://webm.googlecode.com/files/${pkgname}-v${version}.tar.bz2" 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" short_desc="The VP8 Codec SDK" maintainer="Juan RP " homepage="http://www.webmproject.org" license="BSD" checksum=4436275b905d996f4f0e4a3f98f5d3ca4507a05b9b1e101adfd6f508fa6ae14b 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." subpackages="$pkgname-devel" Add_dependency run glibc Add_dependency build coreutils Add_dependency build perl ">=0" Add_dependency build yasm post_install() { vinstall LICENSE 644 usr/share/licenses/${pkgname} }