contrib/x264/Pkgfile

27 lines
619 B
Plaintext
Raw Normal View History

2007-06-25 07:09:34 +02:00
# Description: Library for encoding H264/AVC video streams (snapshot).
# URL: http://developers.videolan.org/x264.html
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: Rouven Schuerch, rs at tegonal dot com
# Depends on:
name=x264
2007-11-20 01:34:11 +01:00
version=r694
2007-06-25 07:09:34 +02:00
release=1
source=(http://romster.shortcircuit.net.au/crux/source/x264-snapshot-$version.tar.bz2)
build() {
cd x264
2007-08-16 02:49:59 +02:00
sed -i -e '/^ CFLAGS="/s/-O4 -ffast-math $CFLAGS/${CFLAGS\/-O?\/-O3} -ffast-math/' configure
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 \
--enable-shared
make
make DESTDIR=$PKG install
}