summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb
blob: 84cd30d3c04f390f2d9b0e15aa10909b6791a8cb (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
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 \
"

SRC_URI = "https://archive.debian.org/debian/pool/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[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37"