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