Difference between revisions of "Liba52"

From CBLFS
Jump to navigationJump to search
(N32)
(32Bit)
Line 27: Line 27:
 
Configure and compile the package:
 
Configure and compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-shared &&
 
  make
 
  make
  
Line 33: Line 33:
  
 
  make install
 
  make install
+
 
 
=== N32 ===
 
=== N32 ===
  

Revision as of 18:56, 12 September 2006

Download Source: http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz

Dependencies

Non-Multilib

Configure and compile the package:

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

Install the package:

make install
install -v -m644 -D doc/liba52.txt /usr/share/doc/liba52-0.7.4/liba52.txt

Multilib

32Bit

Configure and compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-shared &&
make

Install the package:

make install

N32

Configure and compile the package:

sed -i "s/-prefer-non-pic/-prefer-pic/" configure
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 --enable-shared &&
make

Install the package:

make install

64Bit

Configure and compile the package:

sed -i "s/-prefer-non-pic/-prefer-pic/" configure
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 --enable-shared &&
make

Install the package:

make install
install -v -m644 -D doc/liba52.txt /usr/share/doc/liba52-0.7.4/liba52.txt