2012-02-07 13:46:49 +00:00
|
|
|
# $Id: PKGBUILD 149273 2012-02-06 17:33:27Z ibiru $
|
2011-01-23 19:01:50 +00:00
|
|
|
# Maintainer: Ionut Biru <ibiru@archlinux.org>
|
|
|
|
|
2012-02-07 13:46:49 +00:00
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2011-01-23 19:01:50 +00:00
|
|
|
# - configure option --enable-shared isn't supported for us
|
|
|
|
|
|
|
|
plugrel=1
|
|
|
|
|
|
|
|
pkgname=libvpx
|
2012-02-07 13:46:49 +00:00
|
|
|
pkgver=1.0.0
|
2011-08-06 15:55:15 +00:00
|
|
|
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')
|
2012-02-07 13:46:49 +00:00
|
|
|
source=(http://webm.googlecode.com/files/$pkgname-v$pkgver.tar.bz2)
|
|
|
|
sha1sums=('2919e11074fef72fc61ef1a75160050ffaad6074')
|
2011-01-23 19:01:50 +00:00
|
|
|
|
|
|
|
build() {
|
2012-02-07 13:46:49 +00:00
|
|
|
cd "$srcdir/$pkgname-v$pkgver"
|
2011-08-06 15:55:15 +00:00
|
|
|
./configure --prefix=/usr --enable-vp8 \
|
2011-01-23 19:01:50 +00:00
|
|
|
--enable-postproc \
|
|
|
|
--enable-pic \
|
|
|
|
--disable-install-docs \
|
|
|
|
--disable-install-srcs
|
|
|
|
make
|
2011-03-09 06:40:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2012-02-07 13:46:49 +00:00
|
|
|
cd "$srcdir/$pkgname-v$pkgver"
|
2011-01-23 19:01:50 +00:00
|
|
|
make DIST_DIR="$pkgdir/usr" install
|
2012-02-07 13:46:49 +00:00
|
|
|
install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2011-01-23 19:01:50 +00:00
|
|
|
}
|