diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb')
-rw-r--r-- | meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb new file mode 100644 index 0000000000..3688685509 --- /dev/null +++ b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Xorg minimal fonts data" | ||
2 | DESCRIPTION = "Minimal fonts required by X.org." | ||
3 | HOMEPAGE = "http://www.x.org" | ||
4 | |||
5 | SECTION = "x11/fonts" | ||
6 | |||
7 | LICENSE = "PD" | ||
8 | LIC_FILES_CHKSUM = "file://../misc/fonts.dir;md5=82a143d94d6a974aafe97132d2d519ab \ | ||
9 | file://../misc/cursor.pcf.gz;md5=40bc81001fef4c21ca08df4305014a2a" | ||
10 | |||
11 | SRC_URI = "file://misc" | ||
12 | |||
13 | PE = "1" | ||
14 | PR = "r2" | ||
15 | |||
16 | inherit allarch | ||
17 | |||
18 | PACKAGES = "${PN}" | ||
19 | FILES_${PN} = "${libdir}/X11/ ${datadir}/fonts/X11/" | ||
20 | RDEPENDS_${PN} += "font-alias" | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}/${datadir}/fonts/X11/misc | ||
24 | install -m 0644 ${WORKDIR}/misc/* ${D}/${datadir}/fonts/X11/misc/ | ||
25 | install -d ${D}/${libdir}/X11 | ||
26 | ln -sf ${datadir}/fonts/X11/ ${D}/${libdir}/X11/fonts -s | ||
27 | } | ||