blob: 0acd27406ab0f3d61cc3c66ca113c2ba3c5dbb06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
DESCRIPTION = "X font files"
SECTION = "x11/fonts"
LICENSE= "MIT-X"
SRC_URI = "${XORG_MIRROR}/X11R7.0/src/font/${PN}-${PV}.tar.bz2"
FONT_DIR = "${datadir}/share/fonts"
DEPENDS = "encodings mkfontscale mkfontdir"
inherit autotools pkgconfig
do_stage () {
autotools_stage_all
}
FILES_${PN} += " ${libdir}/X11/fonts/*.gz ${libdir}/X11/fonts/*/*.gz"
pkg_postinst_${PN} () {
if [ "x$D" != "x" ]; then
exit 1
fi
for fontdir in /usr/lib/X11/fonts/* /usr/lib/X11/fonts/*/* ; do
if test -d $fontdir ; then
mkfontdir $fontdir
mkfontscale $fontdir
fi
done
}
|