summaryrefslogtreecommitdiffstats
path: root/x264/Pkgfile
blob: 0850c0dc21a9386daffdd20c312578d8b8bacba6 (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
# Description: Librairie libre pour encoder des flux vidéos en H264/AVC
# URL: http://www.videolan.org/developers/x264.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: yasm 
# Run on: yasm

name=x264
version=20120529
release=1
source=(ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$version-2245.tar.bz2)

build() {
	cd x264-snapshot-$version-2245
	./configure \
		--prefix=/usr \
		--enable-pic \
		--enable-shared \
		--enable-static \
		--enable-visualize \
		--bit-depth=8 \
		--chroma-format=all
	make
	make DESTDIR=$PKG install
	chmod a-x $PKG/usr/lib/*.so
}