forked from ports/contrib
29 lines
659 B
Plaintext
29 lines
659 B
Plaintext
# Description: Library for encoding H264/AVC video streams (snapshot).
|
|
# URL: http://www.videolan.org/developers/x264.html
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Rouven Schuerch, rs at tegonal dot com
|
|
# Depends on: yasm
|
|
|
|
name=x264
|
|
version=20081219
|
|
release=1
|
|
source=(http://beegees.mtveurope.org/~romster/distfiles/$name/$name-$version-5f8a149.tar.bz2)
|
|
|
|
build() {
|
|
cd $name
|
|
|
|
sed -i \
|
|
-e 's/-O4/-O3/' \
|
|
-e 's|-I/usr/X11R6/include|-I/usr/X11/include|' configure
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-pic \
|
|
--enable-pthread \
|
|
--enable-shared
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
chmod a-x $PKG/usr/lib/*.so
|
|
}
|