mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 21:30:08 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
52 lines
1.1 KiB
Bash
52 lines
1.1 KiB
Bash
SUMMARY="Python Imaging Library"
|
|
DESCRIPTION="The Python Imaging Library (PIL) adds image processing \
|
|
capabilities to your Python interpreter. This library supports many file \
|
|
formats, and provides powerful image processing and graphics capabilities."
|
|
HOMEPAGE="http://www.pythonware.com/products/pil/"
|
|
COPYRIGHT="1997-2011 by Secret Labs AB
|
|
1995-2011 by Fredrik Lundh"
|
|
LICENSE="MIT"
|
|
REVISION="4"
|
|
SOURCE_URI="http://effbot.org/downloads/Imaging-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211"
|
|
SOURCE_DIR="Imaging-$portVersion"
|
|
PATCHES="python_imaging-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
python_imaging = $portVersion
|
|
cmd:pilconvert.py
|
|
cmd:pildriver.py
|
|
cmd:pilfile.py
|
|
cmd:pilfont.py
|
|
cmd:pilprint.py
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:python2.7
|
|
lib:libjpeg
|
|
lib:libpython2.7
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libjpeg
|
|
devel:libz
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:gcc
|
|
cmd:python2.7
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
python2.7 setup.py build_ext -i
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
python2.7 setup.py install --prefix=$prefix
|
|
}
|