]>
Commit | Line | Data |
---|---|---|
c4d0cbf5 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
c4d0cbf5 SS |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = xorg-x11-fonts |
7 | version = 7.2 | |
8 | release = 2 | |
9 | arch = noarch | |
10 | ||
11 | maintainer = Stefan Schantl <stefan.schantl@ipfire.org> | |
12 | groups = X/Fonts | |
13 | url = http://www.x.org/ | |
14 | license = MIT | |
15 | summary = X.Org X11 fonts. | |
16 | ||
17 | description | |
18 | This package contains misc bitmap Chinese, Japanese, Korean, Indic, and | |
19 | Arabic fonts for use with X Window System. | |
20 | end | |
21 | ||
22 | source_dl = http://ftp.x.org/pub/individual/font/ http://unifoundry.com/ | |
23 | ||
24 | sources = \ | |
25 | encodings-1.0.3.tar.bz2 \ | |
26 | font-alias-1.0.2.tar.bz2 \ | |
27 | font-adobe-100dpi-1.0.1.tar.bz2 \ | |
28 | font-adobe-75dpi-1.0.1.tar.bz2 \ | |
29 | font-adobe-utopia-100dpi-1.0.2.tar.bz2 \ | |
30 | font-adobe-utopia-75dpi-1.0.2.tar.bz2 \ | |
31 | font-adobe-utopia-type1-1.0.2.tar.bz2 \ | |
32 | font-arabic-misc-1.0.1.tar.bz2 \ | |
33 | font-bh-100dpi-1.0.1.tar.bz2 \ | |
34 | font-bh-75dpi-1.0.1.tar.bz2 \ | |
35 | font-bh-lucidatypewriter-100dpi-1.0.1.tar.bz2 \ | |
36 | font-bh-lucidatypewriter-75dpi-1.0.1.tar.bz2 \ | |
37 | font-bitstream-100dpi-1.0.1.tar.bz2 \ | |
38 | font-bitstream-75dpi-1.0.1.tar.bz2 \ | |
39 | font-bitstream-type1-1.0.1.tar.bz2 \ | |
40 | font-cronyx-cyrillic-1.0.1.tar.bz2 \ | |
41 | font-cursor-misc-1.0.1.tar.bz2 \ | |
42 | font-daewoo-misc-1.0.1.tar.bz2 \ | |
43 | font-dec-misc-1.0.1.tar.bz2 \ | |
44 | font-isas-misc-1.0.1.tar.bz2 \ | |
45 | font-jis-misc-1.0.1.tar.bz2 \ | |
46 | font-micro-misc-1.0.1.tar.bz2 \ | |
47 | font-misc-cyrillic-1.0.1.tar.bz2 \ | |
48 | font-misc-misc-1.1.0.tar.bz2 \ | |
49 | font-mutt-misc-1.0.1.tar.bz2 \ | |
50 | font-schumacher-misc-1.1.0.tar.bz2 \ | |
51 | font-screen-cyrillic-1.0.2.tar.bz2 \ | |
52 | font-sony-misc-1.0.1.tar.bz2 \ | |
53 | font-sun-misc-1.0.1.tar.bz2 \ | |
54 | font-winitzki-cyrillic-1.0.1.tar.bz2 \ | |
55 | font-xfree86-type1-1.0.2.tar.bz2 \ | |
56 | unifont-5.1.20080820.pcf.gz | |
57 | ||
58 | build | |
59 | requires | |
60 | /usr/bin/mkfontscale | |
61 | perl | |
62 | pkg-config | |
63 | xorg-x11-font-utils-devel | |
64 | end | |
65 | ||
66 | configure_optins += \ | |
c4d0cbf5 SS |
67 | --with-fontrootdir=/usr/share/X11/fonts \ |
68 | --disable-iso8859-3 \ | |
69 | --disable-iso8859-4 \ | |
70 | --disable-iso8859-6 \ | |
71 | --disable-iso8859-10 \ | |
72 | --disable-iso8859-11 \ | |
73 | --disable-iso8859-12 \ | |
74 | --disable-iso8859-13 \ | |
75 | --disable-iso8859-16 | |
76 | ||
802ea3af MT |
77 | prepare |
78 | # Extract all source tarballs. | |
79 | for object in %{sources}; do | |
80 | # Only extract tar.bz2 files | |
81 | object=${object//*pcf.gz/} | |
82 | if [ -n "${object}" ]; then | |
83 | %{MACRO_EXTRACT} %{DIR_DL}/${object} | |
84 | fi | |
85 | done | |
86 | end | |
87 | ||
88 | build | |
89 | for object in %{sources}; do | |
90 | dir=%{DIR_SRC}/${object%*.tar.bz2} | |
91 | ||
92 | if [ -d "${dir}" ]; then | |
93 | cd ${dir} | |
94 | ./configure %{configure_options} | |
95 | ||
96 | make %{PARALELLISMFLAGS} | |
97 | fi | |
98 | done | |
99 | end | |
100 | ||
101 | install | |
102 | for object in %{sources}; do | |
103 | dir=%{DIR_SRC}/${object%*.tar.bz2} | |
104 | ||
105 | if [ -d "${dir}" ]; then | |
106 | cd ${dir} | |
107 | ||
108 | make install DESTDIR=%{BUILDROOT} | |
109 | fi | |
110 | done | |
111 | ||
112 | # Install unifont | |
113 | cp -vf %{DIR_DL}/unifont-5.1.20080820.pcf.gz %{BUILDROOT}/usr/share/fonts/X11/misc/unifont.pcf.gz | |
114 | end | |
115 | end | |
116 | ||
117 | packages | |
118 | package %{name} | |
119 | requires = fontconfig | |
120 | end | |
121 | end |