Difference between revisions of "X264"

From CBLFS
Jump to navigationJump to search
(32Bit)
Line 31: Line 31:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "/^MACHINE=/s/=.*/=${CLFS_TARGET32}/" configure &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-shared &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-shared &&
 
  make
 
  make
Line 37: Line 38:
  
 
  make install
 
  make install
 
  
 
=== N32 ===
 
=== N32 ===

Revision as of 13:31, 9 October 2006

Download Source: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20061008-2245.tar.bz2

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-shared &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

sed -i "/^MACHINE=/s/=.*/=${CLFS_TARGET32}/" configure &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-shared &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
    --enable-shared &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-shared &&
make

Install the package

make install