XviD

From CBLFS
Revision as of 08:36, 4 November 2010 by Hoeth (talk | contribs) (updated library suffix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://downloads.xvid.org/downloads/xvidcore-1.2.2.tar.bz2

Introduction to XviD

XviD is an MPEG-4 compliant video codec.

Project Homepage: http://xvid.org/

Dependencies

Optional

Non-Multilib

Configure and compile the package:

cd build/generic &&
./configure --prefix=/usr &&
make

Install the package:

make install &&
chmod -v 755 /usr/lib/libxvidcore.so.4.2 &&
ln -v -sf libxvidcore.so.4.2 /usr/lib/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &&
install -v -m755 -d /usr/share/doc/xvidcore-1.2.2/examples &&
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.2.2 &&
install -v -m644 ../../examples/* /usr/share/doc/xvidcore-1.2.2/examples

Multilib

32Bit

Configure and compile the package:

cd build/generic &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --build=${CLFS_TARGET32} &&
make

Install the package:

make install &&
chmod -v 755 /usr/lib/libxvidcore.so.4.2 &&
ln -v -sf libxvidcore.so.4.2 /usr/lib/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so

N32

Configure and compile the package:

cd build/generic &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install &&
chmod -v 755 /usr/lib/libxvidcore.so.4.2 &&
ln -v -sf libxvidcore.so.4.2 /usr/lib32/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib32/libxvidcore.so

64Bit

Configure and compile the package:

cd build/generic &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install &&
chmod -v 755 /usr/lib64/libxvidcore.so.4.2 &&
ln -v -sf libxvidcore.so.4.2 /usr/lib64/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib64/libxvidcore.so &&
install -v -m755 -d /usr/share/doc/xvidcore-1.2.2/examples &&
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.2.2 &&
install -v -m644 ../../examples/* /usr/share/doc/xvidcore-1.2.2/examples
Retrieved from "?title=XviD&oldid=20693"