Difference between revisions of "GD"

From CBLFS
Jump to navigationJump to search
 
Line 40: Line 40:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
mv -v /usr/bin/gdlib-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 52: Line 53:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
mv -v /usr/bin/gdlib-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 64: Line 66:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
mv -v /usr/bin/gdlib-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/gdlib-config

Revision as of 18:17, 21 October 2006

Download Source: http://www.boutell.com/gd/http/gd-2.0.33.tar.gz

Dependencies

Required

Optional

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 ./configure \
    --prefix=/usr &&
make

Install the package

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

N32

Compile the package:

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

Install the package

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

64Bit

Compile the package:

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

Install the package

make install &&
mv -v /usr/bin/gdlib-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/gdlib-config