PKGBUILDs/extra/libvpx/PKGBUILD

30 lines
826 B
Bash
Raw Normal View History

2010-07-13 15:36:08 +00:00
# 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
}