summaryrefslogtreecommitdiff
path: root/recipes/fpdf/fpdf_1.53.bb
blob: 0136955bef19a74bbcfa408ee6beab6ce7dd9ca1 (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
DESCRIPTION = "Free PDF Creator for PHP"
SECTION = "libs"
DEPENDS = ""
RDEPENDS = "php"
LICENSE = "FREEWARE"
PR = "r0"

SRC_URI = "http://www.fpdf.org/en/download/fpdf153.tgz \
	   "

S = "${WORKDIR}/fpdf153"
do_compile() {
    :
}

do_install() {
    install -d  ${D}/usr \
                ${D}/usr/fpdf \
                ${D}/usr/fpdf/font \
                ${D}/usr/fpdf/font/makefont

    install -m 644 ${S}/fpdf.php              ${D}/usr/fpdf/
    install -m 644 ${S}/fpdf.css              ${D}/usr/fpdf/
    install -m 644 ${S}/font/*.php            ${D}/usr/fpdf/font/
    install -m 644 ${S}/font/makefont/*       ${D}/usr/fpdf/font/makefont/	
}

FILES_${PN} = "${exec_prefix}/fpdf/*.* \
               ${exec_prefix}/fpdf/font/*.* \
              "
FILES_${PN}-dev = "${exec_prefix}/fpdf/font/makefont/*"


SRC_URI[md5sum] = "6106c8d0aba37563b7ca9ccc94bc6c95"
SRC_URI[sha256sum] = "44b7e18ba9ae5667dd64c89f7b04627bda5807a3a90255a125702d63c0c4ee17"