blob: 05c2d825d03962e2c77159dd2c56797dc25ce9c4 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001require ttf.inc
2
3SUMMARY = "Thai Linux Working Group Fonts"
4AUTHOR = "Thai Linux Working Group"
5HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg"
6LICENSE = "GPLv2 & TLWG"
7LIC_FILES_CHKSUM = "file://../fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd"
8
9SRC_URI = "http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts-tlwg-${PV}.tar.xz;name=source \
10 http://linux.thai.net/pub/ThaiLinux/software/ttf-tlwg/ttf-tlwg-${PV}.tar.xz;name=ttf"
11SRC_URI[source.md5sum] = "5ea5bc964d992df0428f2e0b85f48400"
12SRC_URI[source.sha256sum] = "77fb9832221fde60c9f683ac3fdce7d45ab6e9c0d83df83da969a3fe9faba537"
13SRC_URI[ttf.md5sum] = "1bc51f45a7b661404a944fab6911261c"
14SRC_URI[ttf.sha256sum] = "aa9cd68969b6f704df3e5b1a2e11204c47f118c8ab052f04c111bd5f299f77c8"
15
Patrick Williams213cb262021-08-07 19:21:33 -050016do_install:append () {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017 install -d ${D}${sysconfdir}/fonts/conf.d
18
19 for x in ${S}/etc/fonts/conf.avail/*.conf; do
20 install -m 0644 $x ${D}${sysconfdir}/fonts/conf.d/
21 done
22}
23
24PACKAGES = "${PN}"
25FONT_PACKAGES = "${PN}"
26
Patrick Williams213cb262021-08-07 19:21:33 -050027FILES:${PN} = "${datadir}/fonts ${sysconfdir}"