]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - pkgs/xorg-x11-fonts/xorg-x11-fonts.nm
avahi: Update to 0.6.30.
[people/arne_f/ipfire-3.x.git] / pkgs / xorg-x11-fonts / xorg-x11-fonts.nm
CommitLineData
c4d0cbf5
SS
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = xorg-x11-fonts
28PKG_VER = 7.2
2f27143a
SS
29PKG_REL = 2
30PKG_ARCH = noarch
c4d0cbf5 31
9784d377 32PKG_MAINTAINER = Stefan Schantl <stefan.schantl@ipfire.org>
bb7d617c 33PKG_GROUPS = X/Fonts
c4d0cbf5
SS
34PKG_URL = http://www.x.org/
35PKG_LICENSE = MIT
36PKG_SUMMARY = X.Org X11 fonts.
37
9ede014f 38PKG_BUILD_DEPS+= /usr/bin/mkfontscale perl pkg-config xorg-x11-font-utils-devel
c4d0cbf5
SS
39PKG_DEPS += fontconfig
40
41define PKG_DESCRIPTION
42 This package contains misc bitmap Chinese, Japanese, Korean, Indic, and \
43 Arabic fonts for use with X Window System.
44endef
45
46# Add all development headers to the package
47# Don't remove empty lines in the defined MACROS!
48
49SRC_PACKAGES = \
50 encodings-1.0.3 \
51 font-alias-1.0.2 \
52 font-adobe-100dpi-1.0.1 \
53 font-adobe-75dpi-1.0.1 \
54 font-adobe-utopia-100dpi-1.0.2 \
55 font-adobe-utopia-75dpi-1.0.2 \
56 font-adobe-utopia-type1-1.0.2 \
57 font-arabic-misc-1.0.1 \
58 font-bh-100dpi-1.0.1 \
59 font-bh-75dpi-1.0.1 \
60 font-bh-lucidatypewriter-100dpi-1.0.1 \
61 font-bh-lucidatypewriter-75dpi-1.0.1 \
62 font-bitstream-100dpi-1.0.1 \
63 font-bitstream-75dpi-1.0.1 \
64 font-bitstream-type1-1.0.1 \
65 font-cronyx-cyrillic-1.0.1 \
66 font-cursor-misc-1.0.1 \
67 font-daewoo-misc-1.0.1 \
68 font-dec-misc-1.0.1 \
69 font-isas-misc-1.0.1 \
70 font-jis-misc-1.0.1 \
71 font-micro-misc-1.0.1 \
72 font-misc-cyrillic-1.0.1 \
73 font-misc-misc-1.1.0 \
74 font-mutt-misc-1.0.1 \
75 font-schumacher-misc-1.1.0 \
76 font-screen-cyrillic-1.0.2 \
77 font-sony-misc-1.0.1 \
78 font-sun-misc-1.0.1 \
79 font-winitzki-cyrillic-1.0.1 \
80 font-xfree86-type1-1.0.2
81
82PKG_OBJECTS += $(foreach package,$(SRC_PACKAGES),$(package).tar.bz2)
65055062 83PKG_OBJECTS += unifont-5.1.20080820.pcf.gz
c4d0cbf5
SS
84
85define STAGE_PREPARE
65055062
SS
86 for object in $(SRC_PACKAGES); do \
87 cd $(DIR_SRC) && $(DO_EXTRACT) $(DIR_DL)/$${object}.tar.bz2; \
c4d0cbf5
SS
88 done
89endef
90
91define MACRO_BUILD
92 cd $(DIR_SRC)/$(1) && ./configure \
93 --prefix=/usr \
94 --with-fontrootdir=/usr/share/X11/fonts \
95 --disable-iso8859-3 \
96 --disable-iso8859-4 \
97 --disable-iso8859-6 \
98 --disable-iso8859-10 \
99 --disable-iso8859-11 \
100 --disable-iso8859-12 \
101 --disable-iso8859-13 \
102 --disable-iso8859-16
103
104 cd $(DIR_SRC)/$(1) && make $(PARALLELISMFLAGS)
105
106endef
107
108STAGE_BUILD = $(foreach package,$(SRC_PACKAGES),$(call MACRO_BUILD,$(package)))
109
110define MACRO_INSTALL
111 cd $(DIR_SRC)/$(1) && make install DESTDIR=$(BUILDROOT)
112
113endef
114
65055062
SS
115define STAGE_INSTALL
116 $(foreach package,$(SRC_PACKAGES),$(call MACRO_INSTALL,$(package)))
117
118 # Install unifont
3c16b393 119 cp -vf $(DIR_DL)/unifont-5.1.20080820.pcf.gz $(BUILDROOT)/usr/share/X11/fonts/misc/unifont.pcf.gz
65055062 120endef
c4d0cbf5
SS
121
122