contrib/x264/Pkgfile

30 lines
656 B
Plaintext
Raw Normal View History

2007-06-25 07:09:34 +02:00
# Description: Library for encoding H264/AVC video streams (snapshot).
2008-04-01 08:25:33 +02:00
# URL: http://www.videolan.org/developers/x264.html
2008-03-26 03:45:31 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
2007-06-25 07:09:34 +02:00
# Packager: Rouven Schuerch, rs at tegonal dot com
2008-04-11 11:58:50 +02:00
# Depends on:
2008-03-30 11:33:10 +02:00
# Optional: yasm
2007-06-25 07:09:34 +02:00
name=x264
2008-12-19 10:52:27 +01:00
version=20081219
2007-06-25 07:09:34 +02:00
release=1
2008-12-19 10:52:27 +01:00
source=(http://www.dcaf-security.org/distfiles/$name-$version-5f8a149.tar.bz2)
2007-06-25 07:09:34 +02:00
build() {
2008-12-19 10:52:27 +01:00
cd $name
2007-08-16 02:49:59 +02:00
2008-01-29 05:13:05 +01:00
sed -i \
-e 's/-O4/-O3/' \
-e 's|-I/usr/X11R6/include|-I/usr/X11/include|' configure
2007-08-16 02:49:59 +02:00
2007-06-25 07:09:34 +02:00
./configure \
--prefix=/usr \
2007-08-16 02:49:59 +02:00
--enable-pic \
2007-06-25 07:09:34 +02:00
--enable-pthread \
2008-04-01 05:45:44 +02:00
--enable-shared
2007-06-25 07:09:34 +02:00
make
make DESTDIR=$PKG install
2008-04-01 05:45:44 +02:00
chmod a-x $PKG/usr/lib/*.so
2007-06-25 07:09:34 +02:00
}