PKGBUILDs/extra/libvpx/PKGBUILD

37 lines
942 B
Bash
Raw Normal View History

2011-08-19 00:17:15 +00:00
# $Id: PKGBUILD 135631 2011-08-16 21:19:09Z ibiru $
2011-01-23 19:01:50 +00:00
# Maintainer: Ionut Biru <ibiru@archlinux.org>
2011-08-01 22:30:01 +00:00
# ALARM: Kevin Mihelich <kevin@plugapps.com>
2011-01-23 19:01:50 +00:00
# - configure option --enable-shared isn't supported for us
plugrel=1
pkgname=libvpx
2011-08-19 00:17:15 +00:00
pkgver=0.9.7.p1
realver=0.9.7-p1
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')
2011-08-19 00:17:15 +00:00
source=(http://webm.googlecode.com/files/${pkgname}-v${realver}.tar.bz2)
sha1sums=('dacfefaf3363f781de43858f09cdd0b0d469e6fc')
2011-01-23 19:01:50 +00:00
build() {
2011-08-19 00:17:15 +00:00
cd "${srcdir}/${pkgname}-v${realver}"
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() {
2011-08-19 00:17:15 +00:00
cd "${srcdir}/${pkgname}-v${realver}"
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"
}