1eb8dc403SDave Cobbleyrequire ttf.inc
2eb8dc403SDave Cobbley
3eb8dc403SDave CobbleySUMMARY = "Gentium fonts - TTF Version"
4eb8dc403SDave CobbleyHOMEPAGE = "http://scripts.sil.org/gentium"
536a3e3e7SBrad BishopLICENSE = "OFL-1.0"
6eb8dc403SDave CobbleyLICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL"
7eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \
8eb8dc403SDave Cobbley"
9eb8dc403SDave Cobbley
10*028142bdSAndrew GeisslerSRC_URI = "https://archive.debian.org/debian/pool/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz "
11eb8dc403SDave Cobbley
12eb8dc403SDave CobbleyS = "${WORKDIR}/ttf-sil-gentium-${PV}"
13eb8dc403SDave Cobbley
14213cb269SPatrick Williamsdo_install:append() {
15eb8dc403SDave Cobbley
16eb8dc403SDave Cobbley    install -d ${D}${datadir}/doc/ttf-gentium/
17eb8dc403SDave Cobbley    install -d ${D}${datadir}/doc/ttf-gentium-alt/
18eb8dc403SDave Cobbley
19eb8dc403SDave Cobbley    install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium/
20eb8dc403SDave Cobbley    install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium-alt/
21eb8dc403SDave Cobbley
22eb8dc403SDave Cobbley}
23eb8dc403SDave Cobbley
24eb8dc403SDave CobbleyPACKAGES = "${PN} ${PN}-alt"
25eb8dc403SDave CobbleyFONT_PACKAGES = "${PN} ${PN}-alt"
26eb8dc403SDave Cobbley
27213cb269SPatrick WilliamsFILES:${PN}-alt = "${datadir}/fonts/truetype/GenAI*.ttf \
28eb8dc403SDave Cobbley                   ${datadir}/fonts/truetype/GenAR*.ttf \
29eb8dc403SDave Cobbley                   ${datadir}/doc/ttf-gentium-alt/*"
30eb8dc403SDave Cobbley
31213cb269SPatrick WilliamsFILES:${PN} = "${datadir}/fonts/truetype/GenI*.ttf \
32eb8dc403SDave Cobbley               ${datadir}/fonts/truetype/GenR*.ttf \
33eb8dc403SDave Cobbley               ${datadir}/doc/ttf-gentium/*"
34eb8dc403SDave Cobbley
35eb8dc403SDave CobbleySRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883"
36eb8dc403SDave CobbleySRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37"
37