diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-12-19 17:54:01 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-12-19 17:54:01 +0100 |
commit | 6137fa89fc74fc85a0bbe303b0cad5087617c025 (patch) | |
tree | 6527e0b93f95d6e7a36fda06a63f665ae6e30eb1 /recipes/ttf-fonts | |
parent | d5ede6e61ca9577ae91f2bb009e9b7b3139a35b1 (diff) |
ttf-mplus: new recipe; sans serif font package
Diffstat (limited to 'recipes/ttf-fonts')
-rw-r--r-- | recipes/ttf-fonts/ttf-mplus_027.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/ttf-fonts/ttf-mplus_027.bb b/recipes/ttf-fonts/ttf-mplus_027.bb new file mode 100644 index 0000000000..361e6b9cf2 --- /dev/null +++ b/recipes/ttf-fonts/ttf-mplus_027.bb @@ -0,0 +1,19 @@ +require ttf.inc + +DESCRIPTION = "MPlus font - TTF Edition" +HOMEPAGE = "http://dejavu.sourceforge.net/wiki/" +LICENSE = "${PN}" +PR = "r0" + +SRC_URI = "http://osdn.dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz" +S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}" + +python populate_packages_prepend() { + plugindir = bb.data.expand('${datadir}/fonts/ttf-mplus/', d) + do_split_packages(d, plugindir, '^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s', extra_depends = "ttf-common") +} + +do_install() { + install -d ${D}${datadir}/fonts/ttf-mplus + install -m 0644 *.ttf ${D}${datadir}/fonts/ttf-mplus/ +} |