summaryrefslogtreecommitdiff
path: root/recipes/ttf-fonts/ttf-mplus_027.bb
blob: 361e6b9cf2404f8828925a6d7aed348042ffbefd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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/
}