Difference between revisions of "Libcaca"

From CBLFS
Jump to navigationJump to search
(Optional)
Line 19: Line 19:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "s:man/man3:&caca:g" doc/Makefile.in &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 32: Line 33:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "s:man/man3:&caca:g" doc/Makefile.in &&
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
Line 45: Line 47:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "s:man/man3:&caca:g" doc/Makefile.in &&
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 
  ./configure --prefix=/usr \
 
  ./configure --prefix=/usr \
Line 59: Line 62:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "s:man/man3:&caca:g" doc/Makefile.in &&
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  ./configure --prefix=/usr \
 
  ./configure --prefix=/usr \

Revision as of 09:27, 28 October 2006

Download Source: http://libcaca.zoy.org/files/libcaca-0.9.tar.bz2

Dependencies

Optional

Non-Multilib

Compile the package:

sed -i "s:man/man3:&caca:g" doc/Makefile.in &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

sed -i "s:man/man3:&caca:g" doc/Makefile.in &&
CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr &&
make

Install the package

make install &&
mv -v /usr/bin/caca-config{,-32}

N32

Compile the package:

sed -i "s:man/man3:&caca:g" doc/Makefile.in &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install &&
mv -v /usr/bin/caca-config{,-n32}

64Bit

Compile the package:

sed -i "s:man/man3:&caca:g" doc/Makefile.in &&
CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/bin/caca-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/caca-config