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