Difference between revisions of "X264"
From CBLFS
Jump to navigationJump to search (→32Bit) |
|||
Line 11: | Line 11: | ||
=== Optional === | === Optional === | ||
* [[Subversion]] | * [[Subversion]] | ||
− | * [[NASM]] | + | * [[NASM]] (X86 only) |
+ | * [[Yasm]] (X86_64 only) | ||
* [[Gtk2]] and [[Pkg-config]] | * [[Gtk2]] and [[Pkg-config]] | ||
Revision as of 12:35, 9 October 2006
Download Source: | ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20061008-2245.tar.bz2 |
---|
Dependencies
Optional
- Subversion
- NASM (X86 only)
- Yasm (X86_64 only)
- Gtk2 and Pkg-config
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