summaryrefslogtreecommitdiff
path: root/packages/python/python-imaging_1.1.6.bb
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2007-08-16 21:45:57 +0000
committerPhilip Balister <philip@balister.org>2007-08-16 21:45:57 +0000
commit1aeb81320d30622f09609f5569d302d527b3cef7 (patch)
treee0d8751fbaf10f4d08bf5058ca79f5484c43a172 /packages/python/python-imaging_1.1.6.bb
parent8aef461d33cd252c0d2d3f89a8a6aea3d807f9bf (diff)
parentfe2ab64f4ad985b59b6bbc33d990bb96ed64b607 (diff)
merge of 'e1d538a40dd18336f9f3f275226a93557d9741cf'
and 'e6ff7fada36b2dd0f2a75f05cada2bc073f0bd4b'
Diffstat (limited to 'packages/python/python-imaging_1.1.6.bb')
-rw-r--r--packages/python/python-imaging_1.1.6.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/python/python-imaging_1.1.6.bb b/packages/python/python-imaging_1.1.6.bb
new file mode 100644
index 0000000000..9f3b6323dd
--- /dev/null
+++ b/packages/python/python-imaging_1.1.6.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "Python Imaging Library"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "freetype jpeg tiff"
+RDEPENDS = "python-lang python-stringold"
+SRCNAME = "Imaging"
+PR = "ml0"
+
+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/
+
+}