summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb
blob: e030bd19072cec854eb2671a8b9fcf30bba6580b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
require ttf.inc

SUMMARY = "Gentium fonts - TTF Version"
HOMEPAGE = "http://scripts.sil.org/gentium"
LICENSE = "OFL-1.0"
LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL"
LIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \
"
PR = "r8"

SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz "

S = "${WORKDIR}/ttf-sil-gentium-${PV}"

do_install_append() {

    install -d ${D}${datadir}/doc/ttf-gentium/
    install -d ${D}${datadir}/doc/ttf-gentium-alt/

    install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium/
    install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium-alt/

}

PACKAGES = "${PN} ${PN}-alt"
FONT_PACKAGES = "${PN} ${PN}-alt"

FILES_${PN}-alt = "${datadir}/fonts/truetype/GenAI*.ttf \
                   ${datadir}/fonts/truetype/GenAR*.ttf \
                   ${datadir}/doc/ttf-gentium-alt/*"

FILES_${PN} = "${datadir}/fonts/truetype/GenI*.ttf \
               ${datadir}/fonts/truetype/GenR*.ttf \
               ${datadir}/doc/ttf-gentium/*"

SRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883"
SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37"