# Template file for 'libvpx' pkgname=libvpx version=1.0.0 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=07cedb0a19a44e6d81d75f52eea864f59ef10c6c725cb860431bec6641eafe21 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 perl ">=0" Add_dependency build yasm post_install() { vinstall LICENSE 644 usr/share/licenses/${pkgname} }