# Description: Python Imaging Library 
# URL: http://www.pythonware.com/products/pil/index.htm
# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
# Depends on: 

#freetype, libjpeg, python2, tk

name=pil
version=1.1.6
release=1
source=(http://effbot.org/downloads/Imaging-$version.tar.gz)

build() {
cd Imaging-$version
	python2 setup.py build_ext
	python2 setup.py install --root=$PKG
	mkdir -p $PKG/usr/include/python2.7/
	cp libImaging/*.h $PKG/usr/include/python2.7/
}