FontConfig

From CBLFS
Revision as of 14:31, 3 September 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://fontconfig.org/release/fontconfig-2.3.2.tar.gz

Dependencies

Required

Optional

If you have DocBook-utils installed and you remove the --disable-docs parameter from the configure command below, you must have PerlModule SGMLSpm and JadeTeX installed also, or the Fontconfig build will fail.

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
    --disable-docs --without-add-fonts \
    --with-docdir=/usr/share/doc/fontconfig-2.3.2 &&
make

Install the package

make install &&
install -v -m644 doc/*.3 /usr/share/man/man3 &&
install -v -m644 doc/*.5 /usr/share/man/man5 &&
install -v -m755 \
        -d /usr/share/doc/fontconfig-2.3.2/fontconfig-devel &&
install -v -m644 doc/*.{html,pdf,txt} \
        /usr/share/doc/fontconfig-2.3.2 &&
install -v -m644 doc/fontconfig-devel/* \
        /usr/share/doc/fontconfig-2.3.2/fontconfig-devel

Multilib

32Bit

Compile the package:

USE_ARCH=32 CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    --sysconfdir=/etc --disable-docs --without-add-fonts \
    --with-docdir=/usr/share/doc/fontconfig-2.3.2 &&
make

Install the package

make install

N32

Compile the package:

USE_ARCH=n32 CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --sysconfdir=/etc --disable-docs --without-add-fonts \
    --with-docdir=/usr/share/doc/fontconfig-2.3.2 \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

USE_ARCH=64 CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --sysconfdir=/etc --disable-docs --without-add-fonts \
    --with-docdir=/usr/share/doc/fontconfig-2.3.2 \
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
install -v -m644 doc/*.3 /usr/share/man/man3 &&
install -v -m644 doc/*.5 /usr/share/man/man5 &&
install -v -m755 \
        -d /usr/share/doc/fontconfig-2.3.2/fontconfig-devel &&
install -v -m644 doc/*.{html,pdf,txt} \
        /usr/share/doc/fontconfig-2.3.2 &&
install -v -m644 doc/fontconfig-devel/* \
        /usr/share/doc/fontconfig-2.3.2/fontconfig-devel