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