Libcaca
From CBLFS
Jump to navigationJump to searchDownload Source: | http://libcaca.zoy.org/raw-attachment/wiki/libcaca/libcaca-0.9.tar.bz2 |
---|
Contents
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
If building without Imlib2/documentation support pass --disable-imlib and/or --disable-doc to configure.
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