Difference between revisions of "XviD"

From CBLFS
Jump to navigationJump to search
(Multilib)
Line 34: Line 34:
 
   
 
   
 
  cd build/generic &&
 
  cd build/generic &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
sed -i "s/SPECIFIC_LDFLAGS=\"/&${LD_BUILD32} /" configure &&
 +
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --build=${CLFS_TARGET32} &&
 
  make
 
  make
  

Revision as of 13:28, 9 October 2006

Download Source: http://downloads.xvid.org/downloads/xvidcore-1.1.0.tar.bz2

Dependencies

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.1 &&
ln -v -sf libxvidcore.so.4.1 /usr/lib/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &&
install -v -m755 -d /usr/share/doc/xvidcore-1.1.0/examples &&
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.1.0 &&
install -v -m644 ../../examples/* /usr/share/doc/xvidcore-1.1.0/examples

Multilib

32Bit

Configure and compile the package:

cd build/generic &&
sed -i "s/SPECIFIC_LDFLAGS=\"/&${LD_BUILD32} /" configure &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --build=${CLFS_TARGET32} &&
make

Install the package:

make install &&
chmod -v 755 /usr/lib/libxvidcore.so.4.1 &&
ln -v -sf libxvidcore.so.4.1 /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.1 &&
ln -v -sf libxvidcore.so.4.1 /usr/lib32/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib/32libxvidcore.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.1 &&
ln -v -sf libxvidcore.so.4.1 /usr/lib64/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib64/libxvidcore.so &&
install -v -m755 -d /usr/share/doc/xvidcore-1.1.0/examples &&
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.1.0 &&
install -v -m644 ../../examples/* /usr/share/doc/xvidcore-1.1.0/examples
Retrieved from "?title=XviD&oldid=2708"