Difference between revisions of "Libcaca"

From CBLFS
Jump to navigationJump to search
(This one should work!)
Line 75: Line 75:
 
  mv -v /usr/bin/caca-config{,-64} &&
 
  mv -v /usr/bin/caca-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/caca-config
 
  ln -sfv multiarch_wrapper /usr/bin/caca-config
 +
 +
[[Category:Media Libraries]]

Revision as of 15:26, 19 March 2009

Download Source: http://libcaca.zoy.org/raw-attachment/wiki/libcaca/libcaca-0.9.tar.bz2

Introduction to Libcaca

Libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals.

Project Homepage: http://libcaca.zoy.org/

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
Retrieved from "?title=Libcaca&oldid=17515"