diff options
Diffstat (limited to 'packages/python/python-imaging_1.1.5.bb')
-rw-r--r-- | packages/python/python-imaging_1.1.5.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/python/python-imaging_1.1.5.bb b/packages/python/python-imaging_1.1.5.bb new file mode 100644 index 0000000000..ddd3eef863 --- /dev/null +++ b/packages/python/python-imaging_1.1.5.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "Python Imaging Library" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "freetype jpeg tiff" +SRCNAME = "Imaging" + +SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \ +file://path.patch;patch=1" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +do_compile() { + + export STAGING_LIBDIR=${STAGING_LIBDIR} + export STAGING_INCDIR=${STAGING_INCDIR} + distutils_do_compile +} + +do_install() { + + export STAGING_LIBDIR=${STAGING_LIBDIR} + export STAGING_INCDIR=${STAGING_INCDIR} + + distutils_do_install + + install -d ${D}${datadir}/doc/${PN}/html/ + install -m 0644 ${S}/README ${D}${datadir}/doc/${PN}/ + install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${PN}/html/ + +} |