# Description: Codec library implementing VP8 and VP9 encoders and decoders # URL: https://www.webmproject.org/tools/ # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: perl nasm name=libvpx version=1.15.2 release=1 source=(https://github.com/webmproject/${name}/archive/v${version}/${name}-${version}.tar.gz) build() { cd ${name}-${version} # Remove the perl requirement from configure. # Also fix issue with non-GNU diff. sed 's/perl/:/g;s/diff --version/command -v diff/' -i configure mkdir libvpx-build cd libvpx-build ../configure --prefix=/usr --enable-shared make make DESTDIR=$PKG install }