Difference between revisions of "Libmpeg2"

From CBLFS
Jump to navigationJump to search
 
Line 17: Line 17:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --enable-shared &&
 
  make
 
  make
  
Line 31: Line 31:
  
 
  CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr \
 
  CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr \
     --x-libraries=${XORG_PREFIX}/lib &&
+
     --x-libraries=${XORG_PREFIX}/lib --enable-shared &&
 
  make
 
  make
  
Line 43: Line 43:
  
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 \
     --x-libraries=${XORG_PREFIX}/lib32 &&
+
     --x-libraries=${XORG_PREFIX}/lib32 --enable-shared &&
 
  make
 
  make
  
Line 55: Line 55:
  
 
  CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 \
     --x-libraries=${XORG_PREFIX}/lib64 &&
+
     --x-libraries=${XORG_PREFIX}/lib64 --enable-shared &&
 
  make
 
  make
  

Revision as of 12:49, 9 October 2006

Download Source: http://libmpeg2.sourceforge.net/files/mpeg2dec-0.4.1.tar.gz

Dependencies

Optional

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib --enable-shared &&
make

Install the package

make install

N32

Compile the package:

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

Install the package

make install

64Bit

Compile the package:

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

Install the package

make install
Retrieved from "?title=Libmpeg2&oldid=2699"