1eb8dc403SDave Cobbleyrequire ttf.inc
2eb8dc403SDave Cobbley
3eb8dc403SDave CobbleySUMMARY = "Gentium fonts - TTF Version"
4eb8dc403SDave CobbleyHOMEPAGE = "http://scripts.sil.org/gentium"
5*36a3e3e7SBrad 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 CobbleyPR = "r8"
10eb8dc403SDave Cobbley
11eb8dc403SDave CobbleySRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz "
12eb8dc403SDave Cobbley
13eb8dc403SDave CobbleyS = "${WORKDIR}/ttf-sil-gentium-${PV}"
14eb8dc403SDave Cobbley
15eb8dc403SDave Cobbleydo_install_append() {
16eb8dc403SDave Cobbley
17eb8dc403SDave Cobbley    install -d ${D}${datadir}/doc/ttf-gentium/
18eb8dc403SDave Cobbley    install -d ${D}${datadir}/doc/ttf-gentium-alt/
19eb8dc403SDave Cobbley
20eb8dc403SDave Cobbley    install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium/
21eb8dc403SDave Cobbley    install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium-alt/
22eb8dc403SDave Cobbley
23eb8dc403SDave Cobbley}
24eb8dc403SDave Cobbley
25eb8dc403SDave CobbleyPACKAGES = "${PN} ${PN}-alt"
26eb8dc403SDave CobbleyFONT_PACKAGES = "${PN} ${PN}-alt"
27eb8dc403SDave Cobbley
28eb8dc403SDave CobbleyFILES_${PN}-alt = "${datadir}/fonts/truetype/GenAI*.ttf \
29eb8dc403SDave Cobbley                   ${datadir}/fonts/truetype/GenAR*.ttf \
30eb8dc403SDave Cobbley                   ${datadir}/doc/ttf-gentium-alt/*"
31eb8dc403SDave Cobbley
32eb8dc403SDave CobbleyFILES_${PN} = "${datadir}/fonts/truetype/GenI*.ttf \
33eb8dc403SDave Cobbley               ${datadir}/fonts/truetype/GenR*.ttf \
34eb8dc403SDave Cobbley               ${datadir}/doc/ttf-gentium/*"
35eb8dc403SDave Cobbley
36eb8dc403SDave CobbleySRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883"
37eb8dc403SDave CobbleySRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37"
38