mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
36 lines
942 B
Bash
36 lines
942 B
Bash
# $Id: PKGBUILD 135631 2011-08-16 21:19:09Z ibiru $
|
|
# Maintainer: Ionut Biru <ibiru@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@plugapps.com>
|
|
# - configure option --enable-shared isn't supported for us
|
|
|
|
plugrel=1
|
|
|
|
pkgname=libvpx
|
|
pkgver=0.9.7.p1
|
|
realver=0.9.7-p1
|
|
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}-v${realver}.tar.bz2)
|
|
sha1sums=('dacfefaf3363f781de43858f09cdd0b0d469e6fc')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-v${realver}"
|
|
./configure --prefix=/usr --enable-vp8 \
|
|
--enable-postproc \
|
|
--enable-pic \
|
|
--disable-install-docs \
|
|
--disable-install-srcs
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-v${realver}"
|
|
make DIST_DIR="$pkgdir/usr" install
|
|
install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|