diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-08-25 20:33:55 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-08-25 20:33:55 +0000 |
| commit | 16e6877c4ce53fd3be88dd77263a03e7d88c3163 (patch) | |
| tree | 831004ca391e04c8deaace28b15cb602c0848c77 /meta/packages/python/python-imaging_1.1.6.bb | |
| parent | 07eeb6a8b6d671db7566f839ab22a26b6f118077 (diff) | |
| download | poky-16e6877c4ce53fd3be88dd77263a03e7d88c3163.tar.gz | |
python: Promote from meta-extras to meta
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5092 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/python/python-imaging_1.1.6.bb')
| -rw-r--r-- | meta/packages/python/python-imaging_1.1.6.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/packages/python/python-imaging_1.1.6.bb b/meta/packages/python/python-imaging_1.1.6.bb new file mode 100644 index 0000000000..9f3b6323dd --- /dev/null +++ b/meta/packages/python/python-imaging_1.1.6.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | DESCRIPTION = "Python Imaging Library" | ||
| 2 | SECTION = "devel/python" | ||
| 3 | PRIORITY = "optional" | ||
| 4 | LICENSE = "GPL" | ||
| 5 | DEPENDS = "freetype jpeg tiff" | ||
| 6 | RDEPENDS = "python-lang python-stringold" | ||
| 7 | SRCNAME = "Imaging" | ||
| 8 | PR = "ml0" | ||
| 9 | |||
| 10 | SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \ | ||
| 11 | file://path.patch;patch=1" | ||
| 12 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 13 | |||
| 14 | inherit distutils | ||
| 15 | |||
| 16 | do_compile() { | ||
| 17 | export STAGING_LIBDIR=${STAGING_LIBDIR} | ||
| 18 | export STAGING_INCDIR=${STAGING_INCDIR} | ||
| 19 | distutils_do_compile | ||
| 20 | } | ||
| 21 | |||
| 22 | do_install() { | ||
| 23 | export STAGING_LIBDIR=${STAGING_LIBDIR} | ||
| 24 | export STAGING_INCDIR=${STAGING_INCDIR} | ||
| 25 | distutils_do_install | ||
| 26 | install -d ${D}${datadir}/doc/${PN}/html/ | ||
| 27 | install -m 0644 ${S}/README ${D}${datadir}/doc/${PN}/ | ||
| 28 | install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${PN}/html/ | ||
| 29 | |||
| 30 | } | ||
