Difference between revisions of "GifLib"

From CBLFS
Jump to navigationJump to search
(32Bit)
(I added the package description from BLFS.)
Line 6: Line 6:
  
 
----
 
----
 +
 +
== Introduction to GifLib ==
 +
 +
The GifLib package contains libraries for reading and writing GIFs as well as programs for converting and working with GIF files. The libraries are useful for any graphics program wishing to deal with GIF files while the programs are useful for conversion purposes as well as cleaning up images.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 21:10, 2 December 2006

Download Source: http://prdownloads.sourceforge.net/libungif/giflib-4.1.4.tar.bz2

Introduction to GifLib

The GifLib package contains libraries for reading and writing GIFs as well as programs for converting and working with GIF files. The libraries are useful for any graphics program wishing to deal with GIF files while the programs are useful for conversion purposes as well as cleaning up images.

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/giflib-4.1.4/html &&
install -v -m644 doc/*.{png,html} \
    /usr/share/doc/giflib-4.1.4/html &&
install -v -m644 doc/*.txt \
    /usr/share/doc/giflib-4.1.4

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" LDFLAGS="-L/usr/lib" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/giflib-4.1.4/html &&
install -v -m644 doc/*.{png,html} \
    /usr/share/doc/giflib-4.1.4/html &&
install -v -m644 doc/*.txt \
    /usr/share/doc/giflib-4.1.4