1require ttf.inc
2
3SUMMARY = "Gentium fonts - TTF Version"
4HOMEPAGE = "http://scripts.sil.org/gentium"
5LICENSE = "OFL-1.0"
6LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL"
7LIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \
8"
9
10SRC_URI = "https://archive.debian.org/debian/pool/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz "
11
12S = "${WORKDIR}/ttf-sil-gentium-${PV}"
13
14do_install:append() {
15
16    install -d ${D}${datadir}/doc/ttf-gentium/
17    install -d ${D}${datadir}/doc/ttf-gentium-alt/
18
19    install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium/
20    install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium-alt/
21
22}
23
24PACKAGES = "${PN} ${PN}-alt"
25FONT_PACKAGES = "${PN} ${PN}-alt"
26
27FILES:${PN}-alt = "${datadir}/fonts/truetype/GenAI*.ttf \
28                   ${datadir}/fonts/truetype/GenAR*.ttf \
29                   ${datadir}/doc/ttf-gentium-alt/*"
30
31FILES:${PN} = "${datadir}/fonts/truetype/GenI*.ttf \
32               ${datadir}/fonts/truetype/GenR*.ttf \
33               ${datadir}/doc/ttf-gentium/*"
34
35SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37"
36