mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 07:10:05 +02:00
Add recipe for Python Imaging Library.
This commit is contained in:
46
dev-python/imaging/python_imaging-1.1.7.recipe
Normal file
46
dev-python/imaging/python_imaging-1.1.7.recipe
Normal file
@@ -0,0 +1,46 @@
|
||||
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."
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="
|
||||
1997-2011 by Secret Labs AB
|
||||
1995-2011 by Fredrik Lundh
|
||||
"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
REVISION="1"
|
||||
HOMEPAGE="http://www.pythonware.com/products/pil/"
|
||||
|
||||
SRC_URI="http://effbot.org/downloads/Imaging-1.1.7.tar.gz"
|
||||
CHECKSUM_SHA256="895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211"
|
||||
SOURCE_DIR="Imaging-1.1.7"
|
||||
|
||||
PROVIDES="
|
||||
python_imaging$secondaryArchSuffix = $portVersion
|
||||
cmd:pilconvert.py
|
||||
cmd:pildriver.py
|
||||
cmd:pilfile.py
|
||||
cmd:pilfont.py
|
||||
cmd:pilprint.py
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libjpeg
|
||||
devel:libz
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel$secondaryArchSuffix >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:python
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
python setup.py build_ext -i
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
python setup.py install --prefix=$prefix
|
||||
}
|
||||
Reference in New Issue
Block a user