]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - xorg-x11-font-utils/xorg-x11-font-utils.nm
Move all packages to root.
[people/ms/ipfire-3.x.git] / xorg-x11-font-utils / xorg-x11-font-utils.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = xorg-x11-font-utils
7 version = 7.4
8 release = 2
9
10 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
11 groups = X/Fonts
12 url = http://www.x.org/
13 license = MIT
14 summary = X.Org X11 font utilities.
15
16 description
17 X.Org X11 font utilities required for font installation, conversion,
18 and generation.
19 end
20
21 source_dl = http://ftp.x.org/pub/individual/app/
22
23 sources =\
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
29
30 build
31 requires
32 autoconf
33 freetype-devel
34 libX11-devel
35 libXfont-devel
36 libfontenc-devel
37 pkg-config
38 xorg-x11-proto-devel
39 zlib-devel
40 end
41
42 configure_options += \
43 --with-mapdir=/usr/share/X11/fonts/util
44
45 build
46 for object in %{sources}; do
47 dir=%{DIR_SRC}/${object%*.tar.bz2}
48
49 if [ -d "${dir}" ]; then
50 cd ${dir}
51 autoconf
52 ./configure %{configure_options}
53
54 make %{PARALELLISMFLAGS}
55 fi
56 done
57 end
58
59 install
60 for object in %{sources}; do
61 dir=%{DIR_SRC}/${object%*.tar.bz2}
62
63 if [ -d "${dir}" ]; then
64 cd ${dir}
65
66 make install DESTDIR=%{BUILDROOT}
67 fi
68 done
69 end
70 end
71
72 packages
73 package %{name}
74 end
75
76 package %{name}-devel
77 template DEVEL
78
79 requires
80 freetype-devel
81 end
82 end
83 end