1eb8dc403SDave Cobbleyrequire ttf.inc
2eb8dc403SDave Cobbley
3eb8dc403SDave CobbleySUMMARY = "WenQuanYi Zen Hei - A Hei-Ti Style Chinese font"
4eb8dc403SDave CobbleyHOMEPAGE = "http://wenq.org/"
5*9aee5003SAndrew GeisslerLICENSE = "GPL-2.0-only"
6eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://COPYING;md5=cf540fc7d35b5777e36051280b3a911c"
7eb8dc403SDave Cobbley
8eb8dc403SDave CobbleySRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}.tar.gz"
9eb8dc403SDave CobbleySRC_URI[md5sum] = "4c6c3f4e902dd5ee0a121e8c41d040bd"
10eb8dc403SDave CobbleySRC_URI[sha256sum] = "e4b7e306475bf9427d1757578f0e4528930c84c44eaa3f167d4c42f110ee75d6"
11eb8dc403SDave Cobbley
12eb8dc403SDave CobbleyS = "${WORKDIR}/wqy-zenhei"
13eb8dc403SDave Cobbley
14213cb269SPatrick Williamsdo_install:append () {
15eb8dc403SDave Cobbley    sed -i -e '/<string>[^W]/d' ${S}/44-wqy-zenhei.conf
16eb8dc403SDave Cobbley    install -d ${D}${sysconfdir}/fonts/conf.d
17eb8dc403SDave Cobbley
18eb8dc403SDave Cobbley    for x in ${S}/*.conf; do
19eb8dc403SDave Cobbley        install -m 0644 $x ${D}${sysconfdir}/fonts/conf.d/
20eb8dc403SDave Cobbley    done
21eb8dc403SDave Cobbley}
22eb8dc403SDave Cobbley
23eb8dc403SDave CobbleyPACKAGES = "${PN}"
24eb8dc403SDave CobbleyFONT_PACKAGES = "${PN}"
25eb8dc403SDave Cobbley
26213cb269SPatrick WilliamsFILES:${PN} = "${datadir}/fonts ${sysconfdir}"
27