Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | require ttf.inc |
| 2 | |
| 3 | SUMMARY = "Gentium fonts - TTF Version" |
| 4 | HOMEPAGE = "http://scripts.sil.org/gentium" |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 5 | LICENSE = "OFL-1.0" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL" |
| 7 | LIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \ |
| 8 | " |
| 9 | PR = "r8" |
| 10 | |
| 11 | SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz " |
| 12 | |
| 13 | S = "${WORKDIR}/ttf-sil-gentium-${PV}" |
| 14 | |
| 15 | do_install_append() { |
| 16 | |
| 17 | install -d ${D}${datadir}/doc/ttf-gentium/ |
| 18 | install -d ${D}${datadir}/doc/ttf-gentium-alt/ |
| 19 | |
| 20 | install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium/ |
| 21 | install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium-alt/ |
| 22 | |
| 23 | } |
| 24 | |
| 25 | PACKAGES = "${PN} ${PN}-alt" |
| 26 | FONT_PACKAGES = "${PN} ${PN}-alt" |
| 27 | |
| 28 | FILES_${PN}-alt = "${datadir}/fonts/truetype/GenAI*.ttf \ |
| 29 | ${datadir}/fonts/truetype/GenAR*.ttf \ |
| 30 | ${datadir}/doc/ttf-gentium-alt/*" |
| 31 | |
| 32 | FILES_${PN} = "${datadir}/fonts/truetype/GenI*.ttf \ |
| 33 | ${datadir}/fonts/truetype/GenR*.ttf \ |
| 34 | ${datadir}/doc/ttf-gentium/*" |
| 35 | |
| 36 | SRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883" |
| 37 | SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37" |