]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - xorg-x11-font-utils/xorg-x11-font-utils.nm
Move all packages to root.
[people/amarx/ipfire-3.x.git] / xorg-x11-font-utils / xorg-x11-font-utils.nm
CommitLineData
f920b4a4 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
f920b4a4
SS
4###############################################################################
5
802ea3af
MT
6name = xorg-x11-font-utils
7version = 7.4
8release = 2
f920b4a4 9
802ea3af
MT
10maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
11groups = X/Fonts
12url = http://www.x.org/
13license = MIT
14summary = X.Org X11 font utilities.
5a18c38b 15
802ea3af
MT
16description
17 X.Org X11 font utilities required for font installation, conversion,
f920b4a4 18 and generation.
802ea3af
MT
19end
20
21source_dl = http://ftp.x.org/pub/individual/app/
22
23sources =\
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
30build
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
70end
71
72packages
73 package %{name}
74 end
75
76 package %{name}-devel
77 template DEVEL
78
79 requires
80 freetype-devel
81 end
82 end
83end