summaryrefslogtreecommitdiff
path: root/portsToCome/x264/Pkgfile
blob: 731d2ec9905b26f6bb27c086026e81931dd890dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Library for encoding H264/AVC video streams (snapshot).
# URL: http://www.videolan.org/developers/x264.html
# Maintainer: Erich Eckner, erich at eckner dot net
# Packager: Rouven Schuerch, rs at tegonal dot com
# Depends on: yasm

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

build() {
	cd $name-snapshot-$version-2245-stable

	./configure \
		--prefix=/usr \
		--enable-pic \
		--enable-shared

	make
	make DESTDIR=$PKG install
	chmod a-x $PKG/usr/lib/*.so
}