Difference between revisions of "Imlib2"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
Line 6: Line 6:
  
 
----
 
----
 +
 +
== Introduction to Imlib 2 ==
 +
 +
Imlib is a graphics library for fast file loading, saving, rendering and manipulation.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 21:13, 2 December 2006

Download Source: http://prdownloads.sourceforge.net/enlightenment/imlib2-1.3.0.tar.gz

Introduction to Imlib 2

Imlib is a graphics library for fast file loading, saving, rendering and manipulation.

Dependencies

Required

Reccomended

Optional

Non-Multilib

Compile the package:

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

Install the package

make install &&
install -v -m755 -d /usr/share/doc/imlib2-1.3.0 &&
install -v -m644 doc/{*.gif,index.html} \
    /usr/share/doc/imlib2-1.3.0

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=$CLFS_TARGET32 \
    --x-libraries=$XORG_PREFIX/lib &&
make

Install the package

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

N32

Compile the package:

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

Install the package

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

64Bit

Compile the package:

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

Install the package

make install &&
mv -v /usr/bin/imlib2-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/imlib2-config &&
install -v -m755 -d /usr/share/doc/imlib2-1.3.0 &&
install -v -m644 doc/{*.gif,index.html} \
    /usr/share/doc/imlib2-1.3.0