Contents of /trunk/extras/imaging/imaging-1.1.6-r3.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 909 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 909 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/imaging/imaging-1.1.6-r3.smage2,v 1.1 2008/03/29 18:11:02 niro Exp $ |
2 | |
3 | PNAME="imaging" |
4 | PVER="1.1.6" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="dev-python" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="The Python Imaging Library (PIL)." |
11 | HOMEPAGE="http://www.pythonware.com/products/pil/index.htm" |
12 | |
13 | DEPEND=">= dev-lang/python-2.5 |
14 | >= media-libs/libjpeg-6b |
15 | >= sys-libs/zlib-1.2.3 |
16 | >= media-libs/freetype-2.3" |
17 | |
18 | SRCFILE="${PNAME/i/I}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME/i/I}-${PVER}" |
20 | |
21 | sminclude python mtools |
22 | |
23 | SRC_URI=( |
24 | http://effbot.org/downloads/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | src_install() |
29 | { |
30 | cd ${SRCDIR} |
31 | python_src_install || die |
32 | |
33 | # install missing headers |
34 | local PYVER="$(get_python_version)" |
35 | minstalldir /usr/include/python${PYVER} || die |
36 | minstallfile libImaging/Imaging.h /usr/include/python${PYVER} || die |
37 | minstallfile libImaging/ImPlatform.h /usr/include/python${PYVER} || die |
38 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |