summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python-imaging_1.1.7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-imaging_1.1.7.bb')
-rw-r--r--meta-oe/recipes-devtools/python/python-imaging_1.1.7.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/python-imaging_1.1.7.bb b/meta-oe/recipes-devtools/python/python-imaging_1.1.7.bb
new file mode 100644
index 0000000000..851c53fe88
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-imaging_1.1.7.bb
@@ -0,0 +1,36 @@
1DESCRIPTION = "Python Imaging Library"
2SECTION = "devel/python"
3
4LICENSE = "BSD"
5LIC_FILES_CHKSUM = "file://README;beginline=92;endline=117;md5=003338c482e1d2eb2e4d862897f3abbf"
6
7DEPENDS = "freetype jpeg tiff"
8SRCNAME = "Imaging"
9
10SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \
11 file://0001-python-imaging-setup.py-force-paths-for-zlib-freetyp.patch \
12"
13SRC_URI[md5sum] = "fc14a54e1ce02a0225be8854bfba478e"
14SRC_URI[sha256sum] = "895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211"
15
16S = "${WORKDIR}/${SRCNAME}-${PV}"
17
18inherit distutils
19
20do_compile() {
21 export STAGING_LIBDIR=${STAGING_LIBDIR}
22 export STAGING_INCDIR=${STAGING_INCDIR}
23 distutils_do_compile
24}
25
26do_install() {
27 export STAGING_LIBDIR=${STAGING_LIBDIR}
28 export STAGING_INCDIR=${STAGING_INCDIR}
29 distutils_do_install
30 install -d ${D}${datadir}/doc/${PN}/html/
31 install -m 0644 ${S}/README ${D}${datadir}/doc/${PN}/
32 install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${PN}/html/
33
34}
35RDEPENDS_${PN} = "python-lang python-stringold"
36