--- /dev/null
+DESCRIPTION = "Unicode Mingti (printed) TrueType Font"
+HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts"
+LICENSE = "${PN}"
+SRC_DISTRIBUTE_LICENSES += "${PN}"
+RPROVIDES = "virtual/chinese-font"
+PR = "r0"
+
+SRC_URI = \
+"http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz"
+S = "${WORKDIR}"
+
+require ttf.inc
+
+FILES_${PN} = "${datadir}"
+
do_install() {
install -d ${D}${datadir}/fonts/truetype/
- install -m 0644 ${S}/*.ttf ${D}${datadir}/fonts/truetype/
+ if [ -e *.ttf ]; then
+ install -m 0644 *.ttf ${D}${datadir}/fonts/truetype/
+ fi
+ if [ -e *.ttc ]; then
+ install -m 0644 *.ttc ${D}${datadir}/fonts/truetype/
+ fi
}
pkg_postinst_append() {