Difference between revisions of "FontConfig"
From CBLFS
Jump to navigationJump to search (→Non-Multilib: Added the localstatedir=/var flag to configure so that the package uses /var instead of /usr/var) |
|||
Line 22: | Line 22: | ||
./configure --prefix=/usr --sysconfdir=/etc \ | ./configure --prefix=/usr --sysconfdir=/etc \ | ||
− | --disable-docs --without-add-fonts \ | + | --disable-docs --localstatedir=/var --without-add-fonts \ |
--with-docdir=/usr/share/doc/fontconfig-2.4.1 && | --with-docdir=/usr/share/doc/fontconfig-2.4.1 && | ||
make | make |
Revision as of 15:09, 10 November 2006
Download Source: | http://fontconfig.org/release/fontconfig-2.4.1.tar.gz |
---|
Contents
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 --localstatedir=/var --without-add-fonts \ --with-docdir=/usr/share/doc/fontconfig-2.4.1 && 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.4.1/fontconfig-devel && install -v -m644 doc/*.{html,pdf,txt} \ /usr/share/doc/fontconfig-2.4.1 && install -v -m644 doc/fontconfig-devel/* \ /usr/share/doc/fontconfig-2.4.1/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.4.1 && 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.4.1 \ --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.4.1 \ --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.4.1/fontconfig-devel && install -v -m644 doc/*.{html,pdf,txt} \ /usr/share/doc/fontconfig-2.4.1 && install -v -m644 doc/fontconfig-devel/* \ /usr/share/doc/fontconfig-2.4.1/fontconfig-devel