Difference between revisions of "FAAC"

From CBLFS
Jump to navigationJump to search
Line 36: Line 36:
 
  patch -Np1 -i ../faac-1.25-config_update-1.patch &&
 
  patch -Np1 -i ../faac-1.25-config_update-1.patch &&
 
  chmod +x configure config.guess config.sub &&
 
  chmod +x configure config.guess config.sub &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 49: Line 49:
 
  patch -Np1 -i ../faac-1.25-config_update-1.patch &&
 
  patch -Np1 -i ../faac-1.25-config_update-1.patch &&
 
  chmod +x configure config.guess config.sub &&
 
  chmod +x configure config.guess config.sub &&
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
 +
    --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 62: Line 63:
 
  patch -Np1 -i ../faac-1.25-config_update-1.patch &&
 
  patch -Np1 -i ../faac-1.25-config_update-1.patch &&
 
  chmod +x configure config.guess config.sub &&
 
  chmod +x configure config.guess config.sub &&
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
 +
    --libdir=/usr/lib64 &&
 
  make
 
  make
  

Revision as of 13:15, 9 October 2006

Download Source: http://prdownloads.sourceforge.net/faac/faac-1.25.tar.gz
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/faac/faac-1.25-config_update-1.patch

Dependencies

Optional

  • FAAD2 (Will use internal version if external version isn't available)

Non-Multilib

Compile the package:

patch -Np1 -i ../faac-1.25-config_update-1.patch &&
chmod +x configure config.guess config.sub &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../faac-1.25-config_update-1.patch &&
chmod +x configure config.guess config.sub &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../faac-1.25-config_update-1.patch &&
chmod +x configure config.guess config.sub &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../faac-1.25-config_update-1.patch &&
chmod +x configure config.guess config.sub &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install
Retrieved from "?title=FAAC&oldid=2706"