1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
6 name = xorg-x11-font-utils
10 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
12 url = http://www.x.org/
14 summary = X.Org X11 font utilities.
17 X.Org X11 font utilities required for font installation, conversion,
21 source_dl = http://ftp.x.org/pub/individual/app/
24 bdftopcf-1.0.1.tar.bz2 \
25 fonttosfnt-1.0.3.tar.bz2 \
26 mkfontdir-1.0.5.tar.bz2 \
27 mkfontscale-1.0.7.tar.bz2 \
28 font-util-1.1.0.tar.bz2
42 configure_options += \
43 --with-mapdir=/usr/share/X11/fonts/util
46 for object in %{sources}; do
47 dir=%{DIR_SRC}/${object%*.tar.bz2}
49 if [ -d "${dir}" ]; then
52 ./configure %{configure_options}
54 make %{PARALELLISMFLAGS}
60 for object in %{sources}; do
61 dir=%{DIR_SRC}/${object%*.tar.bz2}
63 if [ -d "${dir}" ]; then
66 make install DESTDIR=%{BUILDROOT}
70 # Install xorg-x11-fonts-update-dirs
71 install -m 0744 %{DIR_SOURCE}/xorg-x11-fonts-update-dirs %{BUILDROOT}/usr/bin/
72 sed -i "s:@DATADIR@:/usr/share:" %{BUILDROOT}/usr/bin/xorg-x11-fonts-update-dirs
88 package %{name}-debuginfo