blob: 751e8b0690fe39638bec9692c4156a634f952327 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=x264
pkgver=20111001
pkgrel=0
pkgdesc="free library for encoding H264/AVC video streams"
url="http://www.videolan.org/developers/x264.html"
arch="all"
license="GPL"
depends=
makedepends="libx11-dev bash"
subpackages="$pkgname-dev"
source="ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2"
_builddir="$srcdir/$pkgname-snapshot-$pkgver-2245-stable"
build() {
cd "$_builddir"
./configure --prefix=/usr \
--enable-visualize \
--enable-shared \
--disable-asm \
--enable-pic || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install || return 1
}
md5sums="78a5a6fea4cafac6d9863b19bffc119f x264-snapshot-20111001-2245-stable.tar.bz2"
|