blob: b69f3643392a5032314094d46f990471b9b5e3a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libvpx
pkgver=0.9.1
pkgrel=0
pkgdesc="Library for the vp8 codec"
url="http://www.webmproject.org/"
license="GPL"
depends=
makedepends="coreutils yasm bash perl"
install=
subpackages="$pkgname-dev"
source="http://webm.googlecode.com/files/libvpx-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure \
--enable-pic \
--enable-libs \
--enable-runtime-cpu-detect \
--enable-vp8 \
--disable-install-srcs \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DIST_DIR="$pkgdir"/usr install
}
md5sums="e1442e74d0cca228785083fa520735a2 libvpx-0.9.1.tar.bz2"
|