Files
haikuports/dev-python/imaging/python_imaging-1.1.7.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

47 lines
971 B
Plaintext

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
cmd:gcc
cmd:python
"
BUILD()
{
python setup.py build_ext -i
}
INSTALL()
{
python setup.py install --prefix=$prefix
}