python-imaging_1.1.7.bb 1021 B

12345678910111213141516171819202122232425262728293031323334
  1. DESCRIPTION = "Python Imaging Library"
  2. SECTION = "devel/python"
  3. PRIORITY = "optional"
  4. LICENSE = "MIT"
  5. LIC_FILES_CHKSUM = "file://README;beginline=92;endline=120;md5=c4371af4579f1e489cf881c1443dd4ec"
  6. DEPENDS = "freetype jpeg tiff"
  7. RDEPENDS = "python-lang python-stringold"
  8. SRCNAME = "Imaging"
  9. PR = "ml0"
  10. SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \
  11. file://path.patch"
  12. SRC_URI[md5sum] = "fc14a54e1ce02a0225be8854bfba478e"
  13. SRC_URI[sha256sum] = "895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211"
  14. S = "${WORKDIR}/${SRCNAME}-${PV}"
  15. inherit distutils
  16. do_compile() {
  17. export STAGING_LIBDIR=${STAGING_LIBDIR}
  18. export STAGING_INCDIR=${STAGING_INCDIR}
  19. distutils_do_compile
  20. }
  21. do_install() {
  22. export STAGING_LIBDIR=${STAGING_LIBDIR}
  23. export STAGING_INCDIR=${STAGING_INCDIR}
  24. distutils_do_install
  25. install -d ${D}${datadir}/doc/${PN}/html/
  26. install -m 0644 ${S}/README ${D}${datadir}/doc/${PN}/
  27. install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${PN}/html/
  28. }