Difference between revisions of "Libcaca"
From CBLFS
Jump to navigationJump to search(10 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://libcaca.zoy.org/ | + | |http://libcaca.zoy.org/raw-attachment/wiki/libcaca/libcaca-{{Libcaca-Version}}.tar.bz2 |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Package-Introduction|Libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals.|http://libcaca.zoy.org/}} | ||
== Dependencies == | == Dependencies == | ||
Line 12: | Line 14: | ||
* [[Imlib2]] | * [[Imlib2]] | ||
* [[X Window System]] | * [[X Window System]] | ||
− | * [[ | + | * [[S-Lang]] |
* [[Doxygen]] | * [[Doxygen]] | ||
+ | {{Note| If building without Imlib2 and/or documentation support pass --disable-imlib2 and/or --disable-doc to configure.}} | ||
== Non-Multilib == | == Non-Multilib == | ||
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 36: | ||
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 50: | ||
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 65: | ||
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 \ | ||
Line 69: | Line 76: | ||
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]] |
Latest revision as of 17:25, 15 August 2009
Download 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 and/or documentation support pass --disable-imlib2 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