Difference between revisions of "XviD"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://downloads.xvid.org/downloads/xvidcore-1.1.0.tar.bz2
+
| http://downloads.xvid.org/downloads/xvidcore-{{XviD-Version}}.tar.bz2
 
|}
 
|}
  
Line 31: Line 31:
 
  ln -v -sf libxvidcore.so.4.1 /usr/lib/libxvidcore.so.4 &&
 
  ln -v -sf libxvidcore.so.4.1 /usr/lib/libxvidcore.so.4 &&
 
  ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &&
 
  ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &&
  install -v -m755 -d /usr/share/doc/xvidcore-1.1.0/examples &&
+
  install -v -m755 -d /usr/share/doc/xvidcore-{{XviD-Version}}/examples &&
  install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.1.0 &&
+
  install -v -m644 ../../doc/* /usr/share/doc/xvidcore-{{XviD-Version}} &&
  install -v -m644 ../../examples/* /usr/share/doc/xvidcore-1.1.0/examples
+
  install -v -m644 ../../examples/* /usr/share/doc/xvidcore-{{XviD-Version}}/examples
  
 
== Multilib ==
 
== Multilib ==
Line 81: Line 81:
 
  ln -v -sf libxvidcore.so.4.1 /usr/lib64/libxvidcore.so.4 &&
 
  ln -v -sf libxvidcore.so.4.1 /usr/lib64/libxvidcore.so.4 &&
 
  ln -v -sf libxvidcore.so.4 /usr/lib64/libxvidcore.so &&
 
  ln -v -sf libxvidcore.so.4 /usr/lib64/libxvidcore.so &&
  install -v -m755 -d /usr/share/doc/xvidcore-1.1.0/examples &&
+
  install -v -m755 -d /usr/share/doc/xvidcore-{{XviD-Version}}/examples &&
  install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.1.0 &&
+
  install -v -m644 ../../doc/* /usr/share/doc/xvidcore-{{XviD-Version}} &&
  install -v -m644 ../../examples/* /usr/share/doc/xvidcore-1.1.0/examples
+
  install -v -m644 ../../examples/* /usr/share/doc/xvidcore-{{XviD-Version}}/examples
 
 
*[[Main Page]]
 

Revision as of 17:53, 17 December 2006

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

Introduction to XviD

XviD is an MPEG-4 compliant video codec.

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.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.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.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.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=5740"