[oe] [meta-oe][PATCH v2] takao-fonts : add new recipe

Li xin lixin.fnst at cn.fujitsu.com
Thu Nov 27 07:58:07 UTC 2014


Takao Fonts are a community developed derivatives of IPA Fonts.
IPA Fonts are high quality Japanese outline fonts developed by
Information-technology Promotion Agency,Japan(called IPA for short).
Homepage: https://launchpad.net/takao-fonts

Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
---
 .../takao-fonts/takao-fonts_003.02.01.bb            | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/takao-fonts/takao-fonts_003.02.01.bb

diff --git a/meta-oe/recipes-graphics/takao-fonts/takao-fonts_003.02.01.bb b/meta-oe/recipes-graphics/takao-fonts/takao-fonts_003.02.01.bb
new file mode 100644
index 0000000..0a0f6d1
--- /dev/null
+++ b/meta-oe/recipes-graphics/takao-fonts/takao-fonts_003.02.01.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Takao Fonts are a community developed derivatives of IPA Fonts."
+DESCRIPTION = "Takao Fonts are a community developed derivatives of IPA Fonts."
+
+HOMEPAGE = "https://launchpad.net/takao-fonts"
+SECTION = "User Interface/X"
+
+LICENSE = "IPA"
+LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276"
+
+SRC_URI = "http://launchpad.net/takao-fonts/003.02/${PV}/+download/takao-fonts-ttf-${PV}.zip"
+SRC_URI[md5sum] = "ca480e5edb9f26d871bf6df6cb910306"
+SRC_URI[sha256sum] = "2f526a16c7931958f560697d494d8304949b3ce0aef246fb0c727fbbcc39089e"
+
+S = "${WORKDIR}/${PN}-ttf-${PV}"
+
+do_install() {
+    install -m 0755 -d ${D}/${datadir}/fonts
+    install -m 0644 -p ${S}/*.ttf ${D}/${datadir}/fonts/
+}
+
+FILES_${PN} += "${datadir}/fonts/*.ttf"
-- 
1.8.4.2




More information about the Openembedded-devel mailing list