PKGBUILDs/extra/libvpx/PKGBUILD
2010-07-13 08:36:08 -07:00

29 lines
826 B
Bash

# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Plugbox changes:
# Removed "--enable-shared" from ./configure for ARMv5
pkgname=libvpx
pkgver=0.9.1
pkgrel=1
pkgdesc="The VP8 Codec SDK"
arch=('i686' 'x86_64')
url="http://www.webmproject.org/"
license=('BSD')
depends=('glibc')
makedepends=('yasm')
source=(http://webm.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('a18acb7a1a2fd62268e63aab860b43ff04669b9e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --enable-vp8 \
--enable-runtime-cpu-detect \
--enable-postproc \
--enable-pic \
--disable-install-docs \
--disable-install-srcs
make || return 1
make DIST_DIR="$pkgdir/usr" install || return 1
install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" || return 1
}