PKGBUILDs/extra/libvpx/PKGBUILD

37 lines
946 B
Bash
Raw Normal View History

2011-03-09 06:40:49 +00:00
# $Id: PKGBUILD 113425 2011-03-08 16:40:27Z ibiru $
2011-01-23 19:01:50 +00:00
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
# - configure option --enable-shared isn't supported for us
plugrel=1
pkgname=libvpx
2011-03-09 06:40:49 +00:00
pkgver=0.9.6
pkgrel=1
2011-01-23 19:01:50 +00:00
pkgdesc="The VP8 Codec SDK"
arch=('i686' 'x86_64')
url="http://www.webmproject.org/"
license=('BSD')
depends=('glibc')
makedepends=('yasm')
2011-03-09 06:40:49 +00:00
source=(http://webm.googlecode.com/files/${pkgname}-v${pkgver}.tar.bz2)
sha1sums=('a3522bd2b73d52381ba767ded1cbf4760e9cc6f8')
2011-01-23 19:01:50 +00:00
build() {
cd "${srcdir}/${pkgname}-v${pkgver}"
./configure --enable-vp8 \
--enable-runtime-cpu-detect \
--enable-postproc \
--enable-pic \
--disable-install-docs \
--disable-install-srcs
make
2011-03-09 06:40:49 +00:00
}
package() {
cd "${srcdir}/${pkgname}-v${pkgver}"
2011-01-23 19:01:50 +00:00
make DIST_DIR="$pkgdir/usr" install
install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}